From patchwork Tue Mar 26 06:32:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 161164 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4852565jan; Mon, 25 Mar 2019 23:46:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMpFk4hLVQuq+DlcmClxC7R9HkBTXWYfvDtHmgouFp8GV6GQyLoLb16V4N40JkY/kvkDAr X-Received: by 2002:a17:902:7e0f:: with SMTP id b15mr27922452plm.124.1553582812492; Mon, 25 Mar 2019 23:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553582812; cv=none; d=google.com; s=arc-20160816; b=Mpnx0Tqy3QM+dSWU2N3xeTi9F9Ioy9J18mCNiG8h8KtiJdDS3ApOMiwHZ7+WwLTRJL LihIbFVTcIu57Jg8WGXKMYv3ifr+kJjYQQ9W/ZCF0GV7Kmbrzy74eAdXGRwrxU7RXbe6 CcmvYFFVRou16zppb+pPb1FnGAR9qBbTp5ZGIMZm8pm3KtS9x2QrbFzGqHvSbUsMGeSk mHW/OLpGdVpuoF7s3SvtkQzQhEoSdnuaE9b7fwE3cPDcrRJVa+KXnXIjFfnLhUQPLkVA qxun8AQ0qYuPvJ7UB1EPLO58QOKRCdLHVe4LvpME7Xhtp8LRKfpCp7WQnKguNKF0pqy5 +bsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=H2NatzQB9WaXUPrKwAF3g9dVX3FEcZkArZ+BAwTDODg=; b=OY/J+XMw8ADrZlyFhFX0R89ttnHMnlgt1QQ6sxjGgkNo34JseTmxrqCgj/peCg/t9C +wd+Z08KuO87ye+jg9Z71ssEttBs6MaItiSV9pM+tkId8PksmfXlk0KebrNfxtg7GKEe DkdENDrKV++QHHA3+ZHpflRzvmnGrXQmdimqPnc/E7gTBDzZpE5b76ljQfrBxqII/DdJ qS25ELQRZBkxoSC/fLrNKJ9L/4GoXhJP7vxv3FPcVqF8LobOcUNagSski9sHa1qMcAOo rrLBZ3E+Z9hDI1/h0oQ26xyGQKEahV+dgU/kjbH9wqfZo/wvUOBsA2q9VmcYwtOeS0lN bqgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jY03Xhum; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si4429756pgh.231.2019.03.25.23.46.52; Mon, 25 Mar 2019 23:46:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jY03Xhum; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731577AbfCZGqu (ORCPT + 31 others); Tue, 26 Mar 2019 02:46:50 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:34210 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730649AbfCZGcn (ORCPT ); Tue, 26 Mar 2019 02:32:43 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id x2Q6WIMv022574; Tue, 26 Mar 2019 15:32:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x2Q6WIMv022574 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1553581938; bh=H2NatzQB9WaXUPrKwAF3g9dVX3FEcZkArZ+BAwTDODg=; h=From:To:Cc:Subject:Date:From; b=jY03Xhum4/kqgmyHcyGk9bZ1XtOPc10eVoPZW4JDjph20GWq6VzxVPYzSJctIFdRQ UIXHfdB4hmPJCxtHI+ifIkuSuUVLJ3mmU1ab7Kqz1WxxXxgykH9ADG6Iflgb85JPrm NBts5k4UTiOkI3PpuWE5BeWyqwAZc1fpNos3ulTNLJ4aidZUMwwA6EsYbfvPny+Wut nAPtOy1eG9gTJNaCmXBliIhYk/i/58ALM7pvXEgX2onRP6DgCdDGBoqHt6Fp27qStf rabO7u3IN3P6jRtCrwicbAYCQhB0Fts6jkT14TgdTllxs0h0z9B8qNF8dD4KS+2TcW oZFxjmMi8H4EQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: fix warning "overriding recipe for target 'Makefile'" Date: Tue, 26 Mar 2019 15:32:16 +0900 Message-Id: <1553581936-6476-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If you do "make Makefile" with GNU Make 3.x, the following warning is displayed: $ make Makefile Makefile:165: warning: overriding recipe for target 'Makefile' Makefile:51: warning: ignoring old recipe for target 'Makefile' make[1]: Nothing to be done for 'Makefile'. make: Nothing to be done for 'Makefile'. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/Makefile b/Makefile index 70fc778..1b361bd 100644 --- a/Makefile +++ b/Makefile @@ -161,7 +161,7 @@ ifeq ($(need-sub-make),1) PHONY += $(MAKECMDGOALS) sub-make -$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make +$(filter-out _all sub-make $(lastword $(MAKEFILE_LIST)), $(MAKECMDGOALS)) _all: sub-make @: # Invoke a second make in the output directory, passing relevant variables