[U-Boot] [PATCH 2/5] coldfire: Add creation of include directories for _config rules

stany MARCEL stany.marcel at novasys-ingenierie.com
Tue Aug 30 15:00:13 CEST 2011


Signed-off-by: Stany MARCEL <stany.marcel at novasys-ingenierie.com>
---
 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;; \
-- 
1.7.1




More information about the U-Boot mailing list