Makefile: add ap1 + jb02 targets

This commit is contained in:
Alexander Couzens 2015-03-11 17:51:33 +01:00
parent 476f1a788e
commit 41a2d23979
2 changed files with 16 additions and 1 deletions

View File

@ -46,11 +46,19 @@ carambola2: BOARD_TYPE:= carambola2
carambola2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
carambola2: compile
ap1: BOARD_TYPE:= ap1
ap1: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
ap1: compile
ap2: BOARD_TYPE:= ap2
ap2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
ap2: compile
all: carambola2 ap2
jb02: BOARD_TYPE:= jb02
jb02: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
jb02: compile
all: carambola2 ap1 ap2 jb02
clean:
cd $(UBOOTDIR) && $(MAKECMD) distclean

View File

@ -275,10 +275,17 @@ carambola2_config: unconfig hornet_common_config
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
@./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
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
@./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 :
@ >include/config.h