From patchwork Wed Apr 3 07:52:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 233299 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 4042C2C00AE for ; Wed, 3 Apr 2013 18:51:47 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 365B04A335; Wed, 3 Apr 2013 09:51:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b4FPuj+grMSg; Wed, 3 Apr 2013 09:51:45 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 08E1D4A32F; Wed, 3 Apr 2013 09:51:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AC2F14A32F for ; Wed, 3 Apr 2013 09:51:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c+m9MawkNsau for ; Wed, 3 Apr 2013 09:51:39 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by theia.denx.de (Postfix) with ESMTPS id 7BE254A32E for ; Wed, 3 Apr 2013 09:51:38 +0200 (CEST) Received: by mail-ee0-f41.google.com with SMTP id c1so569332eek.0 for ; Wed, 03 Apr 2013 00:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=Xa4A9RQJV9ojiUkqKzK0U/bp9tQQiLvQUYXf93pJFAw=; b=ZfTbLO9OT/8ZdWXZlH2iYjAhsp3rEVCHP8/QThFMYPZu1qGYAx3DNsDIQSXhVKXQ3W X6Ebp2Md93dD25hJ70V5mnqDCYuWtZpDNA7YTSXIh8FtJAs0SaXBC+jUEXw3O8iiW6hM g1YuOsohPDgGPS5PEETRtb+rzKr0vb6sQ9AKnthyaZ5ZCfWbop1KGhVnsxOcUYzqhh7O rXrKYIr1wu/2ZctyxfBST0QHxSHX+4d4JLMPHhrrjLtlquj6oX9DDR8FjBf10MIvZgkl YyJwsWxSw20MOynlSVEIZMJg8FrdXg2hR+1iwH5MTYSUOJoo1fUXh4XeDpKpRqYJ3D+R +p7w== X-Received: by 10.14.210.132 with SMTP id u4mr1460932eeo.19.1364975497874; Wed, 03 Apr 2013 00:51:37 -0700 (PDT) Received: from localhost ([2a01:198:47b:1:210:75ff:fe1a:cd1e]) by mx.google.com with ESMTPS id q5sm6683069eeo.17.2013.04.03.00.51.36 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 03 Apr 2013 00:51:36 -0700 (PDT) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: U-Boot ML Date: Wed, 3 Apr 2013 09:52:22 +0200 Message-Id: <1364975542-19329-1-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Subject: [U-Boot] [PATCH] Makefile: fix clobber target X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Remove the $(CONFIG_SPL_TARGET) from ALL-y if not set. This prevents following warning: ---8<--- abiessmann@punisher % ./MAKEALL -a arm -s omap3 rm: cannot remove `/tmp/build_test/eco5pk/': Is a directory make: *** [clobber] Error 1 rm: cannot remove `/tmp/build_test/omap3_overo/': Is a directory make: *** [clobber] Error 1 --->8--- Signed-off-by: Andreas Bießmann --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index d60a14b..5302c0a 100644 --- a/Makefile +++ b/Makefile @@ -406,7 +406,9 @@ ALL-y += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin +ifneq ($(CONFIG_SPL_TARGET),) ALL-$(CONFIG_SPL) += $(obj)$(subst ",,$(CONFIG_SPL_TARGET)) +endif ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin # enable combined SPL/u-boot/dtb rules for tegra