From patchwork Sun Mar 29 17:33:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 455883 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id DF97A14012F for ; Mon, 30 Mar 2015 04:35:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 29C77918B5; Sun, 29 Mar 2015 17:35:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TXpY-mn49f1X; Sun, 29 Mar 2015 17:35:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D8EF49172F; Sun, 29 Mar 2015 17:34:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D0E6F1CEC87 for ; Sun, 29 Mar 2015 17:34:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CDE42939A6 for ; Sun, 29 Mar 2015 17:34:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9eLiyL4OHBV5 for ; Sun, 29 Mar 2015 17:34:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by hemlock.osuosl.org (Postfix) with ESMTP id C96E493905 for ; Sun, 29 Mar 2015 17:34:10 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 0F0A5364; Sun, 29 Mar 2015 19:34:17 +0200 (CEST) Received: from localhost (AToulouse-657-1-992-70.w109-215.abo.wanadoo.fr [109.215.10.70]) by mail.free-electrons.com (Postfix) with ESMTPSA id 8D0602F4; Sun, 29 Mar 2015 19:34:13 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 29 Mar 2015 19:33:27 +0200 Message-Id: <1427650429-9293-14-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1427650429-9293-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1427650429-9293-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH 13/35] Makefile: directories are not PHONY targets X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The global .PHONY specification in the main Makefile is describing a number of directory targets as being PHONY, which doesn't make much sense. PHONY targets are targets that do not exist on the filesystem, and which make should always consider as not being up-to-date, so that the commands associated to these targets are always executed by make when the command is invoked, even if a file with the same name exists on the filesystem. Signed-off-by: Thomas Petazzoni Reviewed-by: "Yann E. MORIN" --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5a6f825..56477bb 100644 --- a/Makefile +++ b/Makefile @@ -433,9 +433,7 @@ world: target-post-image legal-info legal-info-prepare legal-info-clean printvars \ target-finalize target-post-image \ $(TARGETS) $(TARGETS_ROOTFS) \ - $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \ - $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \ - $(HOST_DIR) $(BINARIES_DIR) + $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) ################################################################################ #