diff options
author | wdenk <wdenk> | 2003-06-26 22:04:09 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-26 22:04:09 +0000 |
commit | 993cad9364c6b87ae429d1ed1130d8153f6f027e (patch) | |
tree | 43faaa643caeaacec331db78850a5a4834bad354 /Makefile | |
parent | b783edaee8252bfdba3f7b3fd29519a81ce71e42 (diff) |
* Patches by Robert Schwebel, 26 Jun 2003:
- logdl
- csb226
- innokom
* Patch by Pantelis Antoniou, 25 Jun 2003:
update NetVia with V2 board support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -302,8 +302,20 @@ MHPC_config: unconfig MVS1_config : unconfig @./mkconfig $(@:_config=) ppc mpc8xx mvs1 +xtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) + +NETVIA_V2_config \ NETVIA_config: unconfig - @./mkconfig $(@:_config=) ppc mpc8xx netvia + @ >include/config.h + @[ -z "$(findstring NETVIA_config,$@)" ] || \ + { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ + echo "... Version 1" ; \ + } + @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ + { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ + echo "... Version 2" ; \ + } + @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia NX823_config: unconfig @./mkconfig $(@:_config=) ppc mpc8xx nx823 |