Skip to contentSkip to conversation

mpc83xx: fix mpc8313 in-tree building with NAND

PATCH New Kim Phillips 2 participants 2 messages Sep 3, 2008 – Sep 4, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc83xx: fix mpc8313 in-tree building with NAND

From: Nick Spence <[email protected]>

and add mpc8313 NAND build to MAKEALL

---
 MAKEALL  |    2 +-
 Makefile |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
MAKEALL +1 -1
index e382947..e49f994 100755
@@ -320,7 +320,7 @@ LIST_8260="		\
 
 LIST_83xx="		\
 	MPC8313ERDB_33	\
-	MPC8313ERDB_66	\
+	MPC8313ERDB_NAND_66	\
 	MPC8315ERDB	\
 	MPC8323ERDB	\
 	MPC832XEMDS	\
Makefile +3 -0
index 0f82e71..3d8b61c 100644
@@ -2082,6 +2082,9 @@ MPC8313ERDB_NAND_66_config: unconfig
 		echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \
 	fi ;
 	@$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
+	@if [ "$(findstring _NAND_,$@)" ] ; then \
+		echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk ; \
+	fi ;
 
 MPC8315ERDB_config: unconfig
 	@$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
Signature · 1 line
1.6.0.6.gc667
#1 lore raw

PATCH 1/1 mpc83xx: fix mpc8313 in-tree building with NAND

Quoted 16 lines · Kim Phillips

From: Nick Spence <[email protected]>

and add mpc8313 NAND build to MAKEALL

---
 MAKEALL  |    2 +-
 Makefile |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
MAKEALL +0 -0
index e382947..e49f994 100755

MAKEALL LIST_8260=" \ · line 323

Quoted 5 lines
MAKEALL +1 -1
@@ -320,7 +320,7 @@ LIST_8260="		\
 
 LIST_83xx="		\
 	MPC8313ERDB_33	\
-	MPC8313ERDB_66	\
+	MPC8313ERDB_NAND_66	\

why do you remove MPC8313ERDB_66?

Best Regards,
J.