[U-Boot] [PATCH] mpc8315erdb: fix out-of-tree building for NAND config
Wolfgang Denk
wd at denx.de
Sun Feb 21 21:52:56 CET 2010
Out-of-tree build for MPC8315ERDB_NAND configuration failed with
/bin/sh: line 0: cd: /tmp/foo/nand_spl/board/freescale/mpc8315erdb: No such file or directory
error message
Signed-off-by: Wolfgang Denk <wd at denx.de>
---
Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 524b9da..72f59f8 100644
--- a/Makefile
+++ b/Makefile
@@ -2273,6 +2273,8 @@ MPC8313ERDB_NAND_66_config: unconfig
MPC8315ERDB_NAND_config \
MPC8315ERDB_config: unconfig
@if [ "$(findstring _NAND_,$@)" ] ; then \
+ mkdir -p $(obj)nand_spl/board/freescale/mpc8313erdb ; \
+ ln -sf mpc8313erdb $(obj)nand_spl/board/freescale/mpc8315erdb ; \
ln -sf mpc8313erdb nand_spl/board/freescale/mpc8315erdb ; \
fi ;
@$(MKCONFIG) -t $(@:_config=) MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
--
1.6.6
More information about the U-Boot
mailing list