]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc/85xx: simplify the top makefile for 36-bit config for mpc8536ds
authorMingkai Hu <Mingkai.hu@freescale.com>
Fri, 18 Sep 2009 03:45:09 +0000 (11:45 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 24 Sep 2009 17:04:57 +0000 (12:04 -0500)
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Makefile
include/configs/MPC8536DS.h

index 0b61d057f309ba3a7b05ea6262286c181546cbcf..99837a38346f024b29f3be1813f966890a40fbf4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2448,9 +2448,7 @@ ATUM8548_config:  unconfig
 
 MPC8536DS_36BIT_config \
 MPC8536DS_config:       unconfig
-       @mkdir -p $(obj)include
-       @echo "#define CONFIG_$(@:_config=) 1"  >$(obj)include/config.h
-       @$(MKCONFIG) -a MPC8536DS ppc mpc85xx mpc8536ds freescale
+       @$(MKCONFIG) -t $(@:_config=) MPC8536DS ppc mpc85xx mpc8536ds freescale
 
 MPC8540ADS_config:     unconfig
        @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
index 4746e2ead56da73b2ffc6fee5f82252399e08fce..faca8059a1f403a339342c02956d2fd24260a38d 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#ifdef CONFIG_MPC8536DS_36BIT
+#ifdef CONFIG_MK_36BIT
 #define CONFIG_PHYS_64BIT      1
 #endif