From patchwork Tue Aug 19 23:13:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Meier X-Patchwork-Id: 381517 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 60A52140114 for ; Wed, 20 Aug 2014 09:14:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D43624A03B; Wed, 20 Aug 2014 01:14:26 +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 fpG5CieiPSzd; Wed, 20 Aug 2014 01:14:26 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D06964A044; Wed, 20 Aug 2014 01:14:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8CCD64A044 for ; Wed, 20 Aug 2014 01:14:20 +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 TWLQiOGCpBGA for ; Wed, 20 Aug 2014 01:14:17 +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 popeye1.ggamaur.net (popeye1.ggamaur.net [213.160.40.50]) by theia.denx.de (Postfix) with ESMTPS id 5E9354A03B for ; Wed, 20 Aug 2014 01:14:14 +0200 (CEST) Received: from chaos.bufferoverflow.ch (c-93-184-16-179.customer.ggaweb.ch [93.184.16.179]) by popeye1.ggamaur.net (8.13.7/8.13.7/Submit) with ESMTP id s7JNDwoe070366; Wed, 20 Aug 2014 01:14:00 +0200 (CEST) (envelope-from roger@bufferoverflow.ch) Received: by chaos.bufferoverflow.ch (Postfix, from userid 1000) id BDEEC11B0DD; Wed, 20 Aug 2014 01:13:53 +0200 (CEST) From: Roger Meier To: u-boot@lists.denx.de Date: Wed, 20 Aug 2014 01:13:50 +0200 Message-Id: <1408490030-19643-1-git-send-email-roger@bufferoverflow.ch> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1407674260-3315-1-git-send-email-roger@bufferoverflow.ch> References: <1407674260-3315-1-git-send-email-roger@bufferoverflow.ch> X-Scanned-By: MIMEDefang 2.64 on 213.160.40.60 Cc: Tom Rini Subject: [U-Boot] [PATCH v3] Makefile: remove generated boards.cfg within make distclean 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Roger Meier CC: Masahiro Yamada CC: Tom Rini CC: Wolfgang Denk --- Changes for v2: - remove boards.cfg within make distclean instead of mrproper - use mrproper instead of distclean within MAKEALL Changes for v3: - use @rm instead of rm as suggested by Masahiro Yamada --- MAKEALL | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MAKEALL b/MAKEALL index 929fe88..392ea8d 100755 --- a/MAKEALL +++ b/MAKEALL @@ -658,7 +658,7 @@ build_target() { MAKE="${MAKE} O=${output_dir}" fi - ${MAKE} distclean >/dev/null + ${MAKE} mrproper >/dev/null echo "Building ${target} board..." ${MAKE} -s ${target}_defconfig >/dev/null diff --git a/Makefile b/Makefile index 666d291..6679408 100644 --- a/Makefile +++ b/Makefile @@ -1285,7 +1285,8 @@ distclean: mrproper -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '.*.rej' -o -name '*%' -o -name 'core' \ -o -name '*.pyc' \) \ - -type f -print | xargs rm -f + -type f -print | xargs rm -f \ + @rm -f boards.cfg backup: F=`basename $(srctree)` ; cd .. ; \