Makefile: add ap1 + jb02 targets
This commit is contained in:
parent
476f1a788e
commit
41a2d23979
10
Makefile
10
Makefile
|
@ -46,11 +46,19 @@ carambola2: BOARD_TYPE:= carambola2
|
||||||
carambola2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
carambola2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
||||||
carambola2: compile
|
carambola2: compile
|
||||||
|
|
||||||
|
ap1: BOARD_TYPE:= ap1
|
||||||
|
ap1: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
||||||
|
ap1: compile
|
||||||
|
|
||||||
ap2: BOARD_TYPE:= ap2
|
ap2: BOARD_TYPE:= ap2
|
||||||
ap2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
ap2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
||||||
ap2: compile
|
ap2: compile
|
||||||
|
|
||||||
all: carambola2 ap2
|
jb02: BOARD_TYPE:= jb02
|
||||||
|
jb02: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
||||||
|
jb02: compile
|
||||||
|
|
||||||
|
all: carambola2 ap1 ap2 jb02
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd $(UBOOTDIR) && $(MAKECMD) distclean
|
cd $(UBOOTDIR) && $(MAKECMD) distclean
|
||||||
|
|
|
@ -275,10 +275,17 @@ carambola2_config: unconfig hornet_common_config
|
||||||
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
|
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
|
||||||
@./mkconfig -a carambola2 mips mips carambola2 ar7240 ar7240
|
@./mkconfig -a carambola2 mips mips carambola2 ar7240 ar7240
|
||||||
|
|
||||||
|
ap1_config: unconfig hornet_common_config
|
||||||
|
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
|
||||||
|
@./mkconfig -a ap1 mips mips carambola2 ar7240 ar7240
|
||||||
|
|
||||||
ap2_config: unconfig hornet_common_config
|
ap2_config: unconfig hornet_common_config
|
||||||
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
|
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
|
||||||
@./mkconfig -a ap2 mips mips carambola2 ar7240 ar7240
|
@./mkconfig -a ap2 mips mips carambola2 ar7240 ar7240
|
||||||
|
|
||||||
|
jb02_config: unconfig hornet_common_config
|
||||||
|
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
|
||||||
|
@./mkconfig -a jb02 mips mips carambola2 ar7240 ar7240
|
||||||
|
|
||||||
hornet_common_config :
|
hornet_common_config :
|
||||||
@ >include/config.h
|
@ >include/config.h
|
||||||
|
|
Loading…
Reference in New Issue