]> git.sur5r.net Git - u-boot/commitdiff
toplevel Makefile: Add MPC8641HPCN_36BIT target
authorBecky Bruce <becky.bruce@freescale.com>
Thu, 6 Nov 2008 19:04:09 +0000 (13:04 -0600)
committerJon Loeliger <jdl@freescale.com>
Mon, 10 Nov 2008 16:10:05 +0000 (10:10 -0600)
This will enable CONFIG_PHYS_36BIT for MPC8641HPCN.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Makefile

index e4a184fdc089c71588f01b2f98de82d4f0933a5b..fd521b6b56a82ccd00a0fe024bef192dcbcea7b5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2459,8 +2459,14 @@ TQM8560_config:          unconfig
 MPC8610HPCD_config:    unconfig
        @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
 
+MPC8641HPCN_36BIT_config \
 MPC8641HPCN_config:    unconfig
-       @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
+       @mkdir -p $(obj)include
+       @if [ "$(findstring _36BIT_,$@)" ] ; then \
+               echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
+               $(XECHO) "... enabling 36-bit physical addressing." ; \
+       fi
+       @$(MKCONFIG) -a MPC8641HPCN ppc mpc86xx mpc8641hpcn freescale
 
 sbc8641d_config:       unconfig
        @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d