diff --git a/Makefile b/Makefile index a42c02cd3d..87648d7a8f 100644 --- a/Makefile +++ b/Makefile @@ -25,18 +25,13 @@ export MAKECMD=make ARCH=mips export UBOOT_GCC_4_3_3_EXTRA_CFLAGS=-fPIC export BUILD_TYPE=squashfs +export COMPRESSED_UBOOT=0 +export CARABOOT_RELEASE=v2.2-dev + IMAGEPATH=$(BUILD_TOPDIR)/bin UBOOT_BINARY=u-boot.bin BOARD_TYPE:= -ap2_config: - export COMPRESSED_UBOOT=0 - export CARABOOT_RELEASE=v2.2-dev - -carambola2_config: - export COMPRESSED_UBOOT=0 - export CARABOOT_RELEASE=v2.2-dev - compile: cd $(UBOOTDIR) && $(MAKECMD) distclean cd $(UBOOTDIR) && $(MAKECMD) $(BOARD_TYPE)_config @@ -49,11 +44,11 @@ compile: carambola2: BOARD_TYPE:= carambola2 carambola2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin -carambola2: carambola2_config compile +carambola2: compile ap2: BOARD_TYPE:= ap2 ap2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin -ap2: ap2_config compile +ap2: compile all: carambola2 ap2