Makefile: fix build for skylab

This commit is contained in:
Alexander Couzens 2015-03-04 18:28:07 +01:00
parent 82cfdb43cd
commit f89f70e3c5
1 changed files with 9 additions and 5 deletions

View File

@ -27,18 +27,17 @@ export BUILD_TYPE=squashfs
IMAGEPATH=$(BUILD_TOPDIR)/bin
UBOOT_BINARY=u-boot.bin
UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
BOARD_TYPE:=
skylab_config:
BOARD_TYPE:=skylab
export COMPRESSED_UBOOT=0
export FLASH_SIZE=8
export NEW_DDR_TAP_CAL=1
export CONFIG_HORNET_1_1_WAR=1
export CONFIG_HORNET_XTAL=25
export CARABOOT_RELEASE=v2.2-dev
carambola2_config:
BOARD_TYPE:=carambola2
export COMPRESSED_UBOOT=0
export FLASH_SIZE=16
export NEW_DDR_TAP_CAL=1
@ -56,10 +55,15 @@ compile:
@echo Done
carambola2: BOARD_TYPE:= carambola2
carambola2: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
carambola2: carambola2_config compile
skylab: BOARD_TYPE:= skylab
skylab: UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
skylab: skylab_config compile
all: carambola2
all: carambola2 skylab
clean:
cd $(UBOOTDIR) && $(MAKECMD) distclean