From 41a2d23979b1021d45e6a6c8e4bf54f4bda75a30 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 11 Mar 2015 17:51:33 +0100 Subject: [PATCH] Makefile: add ap1 + jb02 targets --- Makefile | 10 +++++++++- u-boot/Makefile | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 87648d7a8f..31614ed2df 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/u-boot/Makefile b/u-boot/Makefile index 91ed1873f2..3699efb107 100644 --- a/u-boot/Makefile +++ b/u-boot/Makefile @@ -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