public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mpc8315erdb: fix out-of-tree building for NAND config
@ 2010-02-21 20:52 Wolfgang Denk
  2010-02-23  1:26 ` Kim Phillips
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2010-02-21 20:52 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-25 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-21 20:52 [U-Boot] [PATCH] mpc8315erdb: fix out-of-tree building for NAND config Wolfgang Denk
2010-02-23  1:26 ` Kim Phillips
2010-02-23 22:58   ` Wolfgang Denk
2010-02-24  0:48     ` Kim Phillips
2010-02-25 16:44       ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox