summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorstany MARCEL <stany.marcel@novasys-ingenierie.com>2011-10-14 04:38:05 +0000
committerjason <jason@jason-ThinkPad-T61.(none)>2011-10-19 00:35:05 +0800
commitf6ef7428ed6ce694e6d86410c116f8c48af33d27 (patch)
treeea6fde7caa14f10bf987b1924e9a298e0216989b /Makefile
parent96d94385a78227c71b1ba98c0ec6df55a9cff94f (diff)
downloadu-boot-imx-f6ef7428ed6ce694e6d86410c116f8c48af33d27.zip
u-boot-imx-f6ef7428ed6ce694e6d86410c116f8c48af33d27.tar.gz
u-boot-imx-f6ef7428ed6ce694e6d86410c116f8c48af33d27.tar.bz2
ColdFire: Clean Makefile _config rules
Remove unused mkdir, and add missing ones. Signed-off-by: Stany MARCEL <stany.marcel@novasys-ingenierie.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ef8a3f0..97ac1d6 100644
--- a/Makefile
+++ b/Makefile
@@ -625,6 +625,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;; \
@@ -644,6 +646,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;; \
@@ -658,19 +662,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;; \
@@ -694,6 +698,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;; \