From patchwork Sun Mar 13 00:39:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 63766 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1790493lbc; Sat, 12 Mar 2016 16:40:14 -0800 (PST) X-Received: by 10.67.14.138 with SMTP id fg10mr26957019pad.145.1457829614061; Sat, 12 Mar 2016 16:40:14 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xu8si1741524pac.230.2016.03.12.16.40.13; Sat, 12 Mar 2016 16:40:14 -0800 (PST) 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; 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 S1753881AbcCMAkM (ORCPT + 30 others); Sat, 12 Mar 2016 19:40:12 -0500 Received: from conuserg010.nifty.com ([202.248.44.36]:17309 "EHLO conuserg010-v.nifty.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753746AbcCMAkK (ORCPT ); Sat, 12 Mar 2016 19:40:10 -0500 Received: from grover.sesame (FL1-203-136-65-164.osk.mesh.ad.jp [203.136.65.164]) (authenticated) by conuserg010-v.nifty.com with ESMTP id u2D0dvSU005061; Sun, 13 Mar 2016 09:40:00 +0900 X-Nifty-SrcIP: [203.136.65.164] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: mark help target as PHONY Date: Sun, 13 Mar 2016 09:39:55 +0900 Message-Id: <1457829595-31866-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Obviously, the "help" should be a PHONY target. Signed-off-by: Masahiro Yamada --- Makefile | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 diff --git a/Makefile b/Makefile index 64cf099..848a7dc 100644 --- a/Makefile +++ b/Makefile @@ -1249,6 +1249,7 @@ boards := $(sort $(notdir $(boards))) board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig)) board-dirs := $(sort $(notdir $(board-dirs:/=))) +PHONY += help help: @echo 'Cleaning targets:' @echo ' clean - Remove most generated files but keep the config and' @@ -1417,6 +1418,7 @@ $(clean-dirs): clean: rm-dirs := $(MODVERDIR) clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers +PHONY += help help: @echo ' Building external modules.' @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target'