From 476f1a788e4cde080668e5987abcd2902f4296ab Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 11 Mar 2015 17:47:49 +0100 Subject: [PATCH] Makefile: replace make $(BOARD)_target's by global exports --- Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) 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