summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-18 10:13:26 +0000
committerwdenk <wdenk>2004-04-18 10:13:26 +0000
commitc26e454dfc6650428854fa2db3b1ed7f19e0ba0e (patch)
tree2ad2368558e366e127683028a71381cb1dd37140 /Makefile
parentea66bc8804b66633faae5b7066571c9d68b4d14a (diff)
downloadbarebox-c26e454dfc6650428854fa2db3b1ed7f19e0ba0e.tar.gz
barebox-c26e454dfc6650428854fa2db3b1ed7f19e0ba0e.tar.xz
Patches by Pantelis Antoniou, 16 Apr 2004:
- add support for a new version of an Intracom board and fix various other things on others. - add verify support to the crc32 command (define CONFIG_CRC32_VERIFY to enable it) - fix FEC driver for MPC8xx systems: 1. fix compilation problems for boards that use dynamic allocation of DPRAM 2. shut down FEC after network transfers - HUSH parser fixes: 1. A new test command was added. This is a simplified version of the one in the bourne shell. 2. A new exit command was added which terminates the current executing script. 3. Fixed handing of $? (exit code of last executed command)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b2164737c6..685331b0a7 100644
--- a/Makefile
+++ b/Makefile
@@ -401,8 +401,18 @@ NETVIA_config: unconfig
}
@./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
+xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
+
+NETPHONE_V2_config \
NETPHONE_config: unconfig
- @./mkconfig $(@:_config=) ppc mpc8xx netphone
+ @ >include/config.h
+ @[ -z "$(findstring NETPHONE_config,$@)" ] || \
+ { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \
+ }
+ @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
+ { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \
+ }
+ @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
xtract_NETTA = $(subst _ISDN,,$(subst _config,,$1))