Эх сурвалжийг харах

toplevel Makefile: Add MPC8641HPCN_36BIT target

This will enable CONFIG_PHYS_36BIT for MPC8641HPCN.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Becky Bruce 16 жил өмнө
parent
commit
8db0400a27
1 өөрчлөгдсөн 7 нэмэгдсэн , 1 устгасан
  1. 7 1
      Makefile

+ 7 - 1
Makefile

@@ -2459,8 +2459,14 @@ TQM8560_config:		unconfig
 MPC8610HPCD_config:	unconfig
 MPC8610HPCD_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
 	@$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
 
 
+MPC8641HPCN_36BIT_config \
 MPC8641HPCN_config:    unconfig
 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
 sbc8641d_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d
 	@$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d