mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-10 20:28:59 +00:00
ppc/85xx: Simplify the top makefile for P1_P2_RDB boards
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
2ca16b3309
commit
276e3f2094
2 changed files with 17 additions and 18 deletions
22
Makefile
22
Makefile
|
@ -2520,25 +2520,11 @@ P2020DS_36BIT_config \
|
||||||
P2020DS_config: unconfig
|
P2020DS_config: unconfig
|
||||||
@$(MKCONFIG) -t $(@:_config=) P2020DS ppc mpc85xx p2020ds freescale
|
@$(MKCONFIG) -t $(@:_config=) P2020DS ppc mpc85xx p2020ds freescale
|
||||||
|
|
||||||
P1011RDB_config: unconfig
|
P1011RDB_config \
|
||||||
@mkdir -p $(obj)include
|
P1020RDB_config \
|
||||||
@echo "#define CONFIG_P1011" >>$(obj)include/config.h ;
|
P2010RDB_config \
|
||||||
@$(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
|
|
||||||
|
|
||||||
P2020RDB_config: unconfig
|
P2020RDB_config: unconfig
|
||||||
@mkdir -p $(obj)include
|
@$(MKCONFIG) -t $(@:_config=) P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
|
||||||
@echo "#define CONFIG_P2020" >>$(obj)include/config.h ;
|
|
||||||
@$(MKCONFIG) -a P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
|
|
||||||
|
|
||||||
PM854_config: unconfig
|
PM854_config: unconfig
|
||||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
|
@$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
|
||||||
|
|
|
@ -30,6 +30,19 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
|
#ifdef CONFIG_MK_P1011RDB
|
||||||
|
#define CONFIG_P1011
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_MK_P1020RDB
|
||||||
|
#define CONFIG_P1020
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_MK_P2010RDB
|
||||||
|
#define CONFIG_P2010
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_MK_P2020RDB
|
||||||
|
#define CONFIG_P2020
|
||||||
|
#endif
|
||||||
|
|
||||||
/* High Level Configuration Options */
|
/* High Level Configuration Options */
|
||||||
#define CONFIG_BOOKE 1 /* BOOKE */
|
#define CONFIG_BOOKE 1 /* BOOKE */
|
||||||
#define CONFIG_E500 1 /* BOOKE e500 family */
|
#define CONFIG_E500 1 /* BOOKE e500 family */
|
||||||
|
|
Loading…
Reference in a new issue