From patchwork Wed Jan 19 12:16:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Lo=C3=AFc_Minier?= X-Patchwork-Id: 79451 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 CFF67B70B3 for ; Wed, 19 Jan 2011 23:16:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 876FA28113; Wed, 19 Jan 2011 13:16:48 +0100 (CET) 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 7+wsC0dgSaGV; Wed, 19 Jan 2011 13:16:48 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 073542811E; Wed, 19 Jan 2011 13:16:41 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1EE0A280E4 for ; Wed, 19 Jan 2011 13:16:38 +0100 (CET) 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 5UwEQ-A4HyX3 for ; Wed, 19 Jan 2011 13:16:35 +0100 (CET) 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 duck.dooz.org (duck.dooz.org [194.146.227.125]) by theia.denx.de (Postfix) with ESMTP id 07413280DE for ; Wed, 19 Jan 2011 13:16:33 +0100 (CET) Received: from bee.dooz.org (serris.dooz.org [88.166.229.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by duck.dooz.org (Postfix) with ESMTP id 7FB89C80A4; Wed, 19 Jan 2011 13:16:33 +0100 (CET) Received: by bee.dooz.org (Postfix, from userid 1000) id E4DDE1B84; Wed, 19 Jan 2011 13:16:31 +0100 (CET) From: =?UTF-8?q?Lo=C3=AFc=20Minier?= To: u-boot@lists.denx.de Date: Wed, 19 Jan 2011 13:16:30 +0100 Message-Id: <1295439390-16238-2-git-send-email-loic.minier@linaro.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1295439390-16238-1-git-send-email-loic.minier@linaro.org> References: <1295439390-16238-1-git-send-email-loic.minier@linaro.org> Cc: =?UTF-8?q?Lo=C3=AFc=20Minier?= Subject: [U-Boot] [PATCH V2 2/2] Cleanup .boards.depend when using an objtree X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de .boards.depend was created in the source tree even when calling make with O=objtree, and distclean O=objtree wouldn't clean it. Create .boards.depend in objtree instead as to clean it up properly. Signed-off-by: missing --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 7c02096..e819e56 100644 --- a/Makefile +++ b/Makefile @@ -526,7 +526,7 @@ unconfig: @$(MKCONFIG) -A $(@:_config=) sinclude .boards.depend -.boards.depend: boards.cfg +$(obj).boards.depend: boards.cfg awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config; $$(MAKE)" }' $< > $@ #