summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-15 18:22:41 +0000
committerwdenk <wdenk>2004-04-15 18:22:41 +0000
commit04a85b3b36fdbaaac5fa95d61f59f481bbcf7520 (patch)
treea4c6731a78805c51f43a8b195034d2036b28941b /Makefile
parentd716b126718d874f52ffb694e6c22b7235cec483 (diff)
* Patches by Pantelis Antoniou, 30 Mar 2004:
- add auto-complete support to the U-Boot CLI - add support for NETTA and NETPHONE boards; fix NETVIA board * Patch by Yuli Barcohen, 28 Mar 2004: - Add support for MPC8272 family including MPC8247/8248/8271/8272 - Add support for MPC8272ADS evaluation board (another flavour of MPC8260ADS) - Change configuration method for MPC8260ADS family
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 33 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index acc1c519c..1a9116a23 100644
--- a/Makefile
+++ b/Makefile
@@ -398,6 +398,22 @@ NETVIA_config: unconfig
}
@./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
+NETPHONE_config: unconfig
+ @./mkconfig $(@:_config=) ppc mpc8xx netphone
+
+xtract_NETTA = $(subst _ISDN,,$(subst _config,,$1))
+
+NETTA_ISDN_config \
+NETTA_config: unconfig
+ @ >include/config.h
+ @[ -z "$(findstring NETTA_config,$@)" ] || \
+ { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \
+ }
+ @[ -z "$(findstring NETTA_ISDN_config,$@)" ] || \
+ { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \
+ }
+ @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta
+
NX823_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8xx nx823
@@ -752,8 +768,23 @@ hymod_config: unconfig
IPHASE4539_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8260 iphase4539
-MPC8260ADS_config: unconfig
- @./mkconfig $(@:_config=) ppc mpc8260 mpc8260ads
+MPC8260ADS_config \
+MPC8260ADS_33MHz_config \
+MPC8260ADS_40MHz_config \
+MPC8272ADS_config \
+PQ2FADS_config \
+PQ2FADS-VR_config \
+PQ2FADS-ZU_config \
+PQ2FADS-ZU_66MHz_config \
+ : unconfig
+ $(if $(findstring PQ2FADS,$@), \
+ @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \
+ @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h)
+ $(if $(findstring MHz,$@), \
+ @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \
+ $(if $(findstring VR,$@), \
+ @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h))
+ @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads
MPC8266ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads