summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-09-10 16:31:53 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-09-24 12:04:58 -0500
commit62ca21c442e18fec118ec83e183d64ea49966ce7 (patch)
treeba3afe89b78fed80607ecaf1d38661680edb1bbb /Makefile
parenta0f9e0e0f06033807de0ae017ad4d9cf5ddff84b (diff)
downloadu-boot-imx-62ca21c442e18fec118ec83e183d64ea49966ce7.zip
u-boot-imx-62ca21c442e18fec118ec83e183d64ea49966ce7.tar.gz
u-boot-imx-62ca21c442e18fec118ec83e183d64ea49966ce7.tar.bz2
ppc/85xx: Simplify the top makefile for P1_P2_RDB boards
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 4 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 1e25669..d8daa89 100644
--- a/Makefile
+++ b/Makefile
@@ -2520,25 +2520,11 @@ P2020DS_36BIT_config \
P2020DS_config: unconfig
@$(MKCONFIG) -t $(@:_config=) P2020DS ppc mpc85xx p2020ds freescale
-P1011RDB_config: unconfig
- @mkdir -p $(obj)include
- @echo "#define CONFIG_P1011" >>$(obj)include/config.h ;
- @$(MKCONFIG) -a P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
-
-P1020RDB_config: unconfig
- @mkdir -p $(obj)include
- @echo "#define CONFIG_P1020" >>$(obj)include/config.h ;
- @$(MKCONFIG) -a P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
-
-P2010RDB_config: unconfig
- @mkdir -p $(obj)include
- @echo "#define CONFIG_P2010" >>$(obj)include/config.h ;
- @$(MKCONFIG) -a P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
-
+P1011RDB_config \
+P1020RDB_config \
+P2010RDB_config \
P2020RDB_config: unconfig
- @mkdir -p $(obj)include
- @echo "#define CONFIG_P2020" >>$(obj)include/config.h ;
- @$(MKCONFIG) -a P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
+ @$(MKCONFIG) -t $(@:_config=) P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
PM854_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854