summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-04 12:06:43 +0200
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-07-08 11:43:14 +0900
commitce29817212792113cd2d67a9767049a2e262c406 (patch)
treeecbe454de52b585b6e3f5f17d7861a0223032aa9 /Makefile
parent59869ca72df8bc4e4ffa9dd17cb6673bbe010272 (diff)
downloadu-boot-imx-ce29817212792113cd2d67a9767049a2e262c406.zip
u-boot-imx-ce29817212792113cd2d67a9767049a2e262c406.tar.gz
u-boot-imx-ce29817212792113cd2d67a9767049a2e262c406.tar.bz2
sh7785lcr: fix out of tree build
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2a06440..cf96900 100644
--- a/Makefile
+++ b/Makefile
@@ -3529,8 +3529,9 @@ sh7763rdp_config : unconfig
xtract_sh7785lcr = $(subst _32bit,,$(subst _config,,$1))
sh7785lcr_32bit_config \
sh7785lcr_config : unconfig
- @ >include/config.h
- @echo "#define CONFIG_SH7785LCR 1" >> include/config.h
+ @mkdir -p $(obj)include
+ @mkdir -p $(obj)board/renesas/sh7785lcr
+ @echo "#define CONFIG_SH7785LCR 1" > $(obj)include/config.h
@if [ "$(findstring 32bit, $@)" ] ; then \
echo "#define CONFIG_SH_32BIT 1" >> $(obj)include/config.h ; \
cp $(obj)board/renesas/sh7785lcr/u-boot_32bit \