From 64ac1eb5afafced49b327425ad1814b2dc422d6e Mon Sep 17 00:00:00 2001 From: Nick Spence Date: Tue, 2 Sep 2008 15:21:16 -0500 Subject: mpc83xx: fix mpc8313 in-tree building with NAND and add mpc8313 NAND build to MAKEALL Signed-off-by: Nick Spence Signed-off-by: Kim Phillips --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2d4b513..8d82ef5 100644 --- a/Makefile +++ b/Makefile @@ -2083,6 +2083,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 -- cgit v1.1