summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-12-06 15:02:31 +0100
committerWolfgang Denk <wd@pollux.(none)>2005-12-06 15:02:31 +0100
commita889bd27ef2a9c01eb5b10d067765545781efa0a (patch)
treee42a6a0dadc6ea2b90c1850030e30241920fe844 /Makefile
parent41253be442e35f71fdf26dac71d78451858a1fc7 (diff)
Fix DPRAM offset/size for MPC8541/8555.
Simplify TQM85xx Makefile handling.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index dde111c3a6a..8fe2984c529 100644
--- a/Makefile
+++ b/Makefile
@@ -1329,12 +1329,7 @@ TQM8540_config \
TQM8541_config \
TQM8555_config \
TQM8560_config: unconfig
- @case "$@" in \
- TQM8540_config) CTYPE=8540;; \
- TQM8541_config) CTYPE=8541;; \
- TQM8555_config) CTYPE=8555;; \
- TQM8560_config) CTYPE=8560;; \
- esac; \
+ @CTYPE=$(subst TQM,,$(@:_config=)); \
>include/config.h ; \
echo "... TQM"$${CTYPE}; \
echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \