From patchwork Tue Aug 30 13:00:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stany MARCEL X-Patchwork-Id: 112287 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 A77BDB6F69 for ; Tue, 30 Aug 2011 23:12:51 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 62638280F3; Tue, 30 Aug 2011 15:12:41 +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 YgroHUa7ocnZ; Tue, 30 Aug 2011 15:12:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0ECCF280F4; Tue, 30 Aug 2011 15:12:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B2F1D280BF for ; Tue, 30 Aug 2011 15:12:21 +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 Up1d43GfHNg8 for ; Tue, 30 Aug 2011 15:12:19 +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 7EF9A280B8 for ; Tue, 30 Aug 2011 15:12:19 +0200 (CEST) Received: from [192.168.134.138] ([192.168.0.148]) by ATLAS.pactenovation.fr over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 30 Aug 2011 15:01:31 +0200 Message-ID: <4E5CDEDD.3020007@novasys-ingenierie.com> Date: Tue, 30 Aug 2011 15:00:13 +0200 From: stany MARCEL Organization: NOVASYS Ingenierie User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110805 Thunderbird/3.1.12 MIME-Version: 1.0 To: u-boot@lists.denx.de X-OriginalArrivalTime: 30 Aug 2011 13:01:31.0812 (UTC) FILETIME=[F0752E40:01CC6714] X-TM-AS-Product-Ver: SMEX-8.0.0.1181-6.500.1024-18354.007 X-TM-AS-Result: No-0.145100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Cc: jason.jin@freescale.com Subject: [U-Boot] [PATCH 2/5] coldfire: Add creation of include directories for _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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Stany MARCEL --- Makefile | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 03d80b7..9381768 100644 --- a/Makefile +++ b/Makefile @@ -594,11 +594,13 @@ ucname = $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/') astro_mcf5373l_config \ astro_mcf5373l_RAM_config : unconfig + @mkdir -p $(obj)include @$(MKCONFIG) -n $@ -t $@ astro_mcf5373l m68k mcf532x mcf5373l astro M52277EVB_config \ M52277EVB_spansion_config \ M52277EVB_stmicro_config : unconfig + @mkdir -p $(obj)include @case "$@" in \ M52277EVB_config) FLASH=SPANSION;; \ M52277EVB_spansion_config) FLASH=SPANSION;; \ @@ -620,6 +622,7 @@ M52277EVB_stmicro_config : unconfig M5235EVB_config \ M5235EVB_Flash16_config \ M5235EVB_Flash32_config: unconfig + @mkdir -p $(obj)include @case "$@" in \ M5235EVB_config) FLASH=16;; \ M5235EVB_Flash16_config) FLASH=16;; \ @@ -636,6 +639,7 @@ M5235EVB_Flash32_config: unconfig @$(MKCONFIG) -n $@ -a M5235EVB m68k mcf523x m5235evb freescale cobra5272_config : unconfig + @mkdir -p $(obj)include @$(MKCONFIG) $@ m68k mcf52x2 cobra5272 EB+MCF-EV123_config : unconfig @@ -652,6 +656,7 @@ EB+MCF-EV123_internal_config : unconfig M5329AFEE_config \ M5329BFEE_config : unconfig + @mkdir -p $(obj)include @case "$@" in \ M5329AFEE_config) NAND=0;; \ M5329BFEE_config) NAND=16;; \ @@ -662,6 +667,7 @@ M5329BFEE_config : unconfig @$(MKCONFIG) -n $@ -a M5329EVB m68k mcf532x m5329evb freescale M5373EVB_config : unconfig + @mkdir -p $(obj)include @case "$@" in \ M5373EVB_config) NAND=16;; \ esac; \ @@ -672,6 +678,7 @@ M5373EVB_config : unconfig M54451EVB_config \ M54451EVB_stmicro_config : unconfig + @mkdir -p $(obj)include @case "$@" in \ M54451EVB_config) FLASH=NOR;; \ M54451EVB_stmicro_config) FLASH=STMICRO;; \ @@ -697,6 +704,7 @@ M54455EVB_a66_config \ M54455EVB_i33_config \ M54455EVB_i66_config \ M54455EVB_stm33_config : unconfig + @mkdir -p $(obj)include @case "$@" in \ M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \ M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \ @@ -733,6 +741,7 @@ M5475DFE_config \ M5475EFE_config \ M5475FFE_config \ M5475GFE_config : unconfig + @mkdir -p $(obj)include @case "$@" in \ M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \ @@ -767,6 +776,7 @@ M5485EFE_config \ M5485FFE_config \ M5485GFE_config \ M5485HFE_config : unconfig + @mkdir -p $(obj)include @case "$@" in \ M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \