summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-11-06 13:04:09 -0600
committerJon Loeliger <jdl@freescale.com>2008-11-10 10:10:05 -0600
commit8db0400a27839f91c047dcb83f4a0f09e054a180 (patch)
treea6d262e4d54c1ab58f9158098408a5b4ea19699f /Makefile
parent3111d32c494e8251b90917447796a7206b757e1e (diff)
downloadu-boot-imx-8db0400a27839f91c047dcb83f4a0f09e054a180.zip
u-boot-imx-8db0400a27839f91c047dcb83f4a0f09e054a180.tar.gz
u-boot-imx-8db0400a27839f91c047dcb83f4a0f09e054a180.tar.bz2
toplevel Makefile: Add MPC8641HPCN_36BIT target
This will enable CONFIG_PHYS_36BIT for MPC8641HPCN. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e4a184f..fd521b6 100644
--- 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