From patchwork Fri Oct 14 14:38:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stany MARCEL X-Patchwork-Id: 119812 X-Patchwork-Delegate: jason.jin@freescale.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 3D331B6FA6 for ; Sat, 15 Oct 2011 01:39:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 206AB28D2B; Fri, 14 Oct 2011 16:39:25 +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 bWL3rF9HzwtT; Fri, 14 Oct 2011 16:39:24 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DB7F328D23; Fri, 14 Oct 2011 16:39:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D1E7828D23 for ; Fri, 14 Oct 2011 16:39:07 +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 QrMe3HCKQU3C for ; Fri, 14 Oct 2011 16:39:05 +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 ATLAS.pactenovation.fr (smtp.pactenovation.fr [195.5.242.163]) by theia.denx.de (Postfix) with ESMTP id 1689A28D08 for ; Fri, 14 Oct 2011 16:38:49 +0200 (CEST) Received: from ubuntu ([192.168.0.148]) by ATLAS.pactenovation.fr over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 14 Oct 2011 16:40:09 +0200 From: Stany MARCEL To: u-boot@lists.denx.de Date: Fri, 14 Oct 2011 16:38:05 +0200 Message-Id: <1318603086-9996-5-git-send-email-stany.marcel@novasys-ingenierie.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <20111013195836.0F8A214094B4@gemini.denx.de> References: <20111013195836.0F8A214094B4@gemini.denx.de> X-Antivirus: avast! (VPS 111014-0, 14/10/2011), Outbound message X-Antivirus-Status: Clean X-OriginalArrivalTime: 14 Oct 2011 14:40:09.0109 (UTC) FILETIME=[2C07CC50:01CC8A7F] X-TM-AS-Product-Ver: SMEX-8.0.0.1181-6.500.1024-18448.006 X-TM-AS-Result: No-0.515100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Cc: Stany MARCEL , jason.jin@freescale.com, vapier@gento.org Subject: [U-Boot] [PATCH 5/6 v2] ColdFire: Clean Makefile _config rules 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 Remove unused mkdir, and add missing ones. Signed-off-by: Stany MARCEL --- Changes for v2: - rebase to master Makefile | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) -- 1.7.1 diff --git a/Makefile b/Makefile index 400cb5f..9febdf5 100644 --- a/Makefile +++ b/Makefile @@ -614,6 +614,8 @@ ucname = $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/') M52277EVB_config \ M52277EVB_spansion_config \ M52277EVB_stmicro_config : unconfig + @mkdir -p $(obj)include + @mkdir -p $(obj)board/freescale/m52277evb @case "$@" in \ M52277EVB_config) FLASH=SPANSION;; \ M52277EVB_spansion_config) FLASH=SPANSION;; \ @@ -633,6 +635,8 @@ M52277EVB_stmicro_config : unconfig M5235EVB_config \ M5235EVB_Flash16_config \ M5235EVB_Flash32_config: unconfig + @mkdir -p $(obj)include + @mkdir -p $(obj)board/freescale/m5235evb @case "$@" in \ M5235EVB_config) FLASH=16;; \ M5235EVB_Flash16_config) FLASH=16;; \ @@ -647,19 +651,19 @@ M5235EVB_Flash32_config: unconfig @$(MKCONFIG) -n $@ -a M5235EVB m68k mcf523x m5235evb freescale EB+MCF-EV123_config : unconfig - @mkdir -p $(obj)include @mkdir -p $(obj)board/BuS/EB+MCF-EV123 @echo "CONFIG_SYS_TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk @$(MKCONFIG) -n $@ EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS EB+MCF-EV123_internal_config : unconfig - @mkdir -p $(obj)include @mkdir -p $(obj)board/BuS/EB+MCF-EV123 @echo "CONFIG_SYS_TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk @$(MKCONFIG) -n $@ EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS M54451EVB_config \ M54451EVB_stmicro_config : unconfig + @mkdir -p $(obj)include + @mkdir -p $(obj)board/freescale/m54451evb @case "$@" in \ M54451EVB_config) FLASH=NOR;; \ M54451EVB_stmicro_config) FLASH=STMICRO;; \ @@ -683,6 +687,8 @@ M54455EVB_a66_config \ M54455EVB_i33_config \ M54455EVB_i66_config \ M54455EVB_stm33_config : unconfig + @mkdir -p $(obj)include + @mkdir -p $(obj)board/freescale/m54455evb @case "$@" in \ M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \ M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \