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 <[email protected]>
---
 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

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to