Makefile: new targets skylab and carambola2
all target is still building carambola2
This commit is contained in:
parent
8fda131810
commit
6944c3a4c1
26
Makefile
26
Makefile
|
@ -25,7 +25,20 @@ export MAKECMD=make ARCH=mips
|
|||
export UBOOT_GCC_4_3_3_EXTRA_CFLAGS=-fPIC
|
||||
export BUILD_TYPE=squashfs
|
||||
|
||||
BOARD_TYPE=carambola2
|
||||
IMAGEPATH=$(BUILD_TOPDIR)/bin
|
||||
UBOOT_BINARY=u-boot.bin
|
||||
UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
||||
|
||||
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 CARABOOT_RELEASE=v2.2-dev
|
||||
|
||||
carambola2_config:
|
||||
BOARD_TYPE:=carambola2
|
||||
export COMPRESSED_UBOOT=0
|
||||
export FLASH_SIZE=16
|
||||
export NEW_DDR_TAP_CAL=1
|
||||
|
@ -33,11 +46,7 @@ export CONFIG_HORNET_XTAL=40
|
|||
export CONFIG_HORNET_1_1_WAR=1
|
||||
export CARABOOT_RELEASE=v2.2-dev
|
||||
|
||||
IMAGEPATH=$(BUILD_TOPDIR)/bin
|
||||
UBOOT_BINARY=u-boot.bin
|
||||
UBOOTFILE=$(BOARD_TYPE)_u-boot.bin
|
||||
|
||||
all:
|
||||
compile:
|
||||
cd $(UBOOTDIR) && $(MAKECMD) distclean
|
||||
cd $(UBOOTDIR) && $(MAKECMD) $(BOARD_TYPE)_config
|
||||
cd $(UBOOTDIR) && $(MAKECMD) all
|
||||
|
@ -47,5 +56,10 @@ all:
|
|||
|
||||
@echo Done
|
||||
|
||||
carambola2: carambola2_config compile
|
||||
skylab: skylab_config compile
|
||||
|
||||
all: carambola2
|
||||
|
||||
clean:
|
||||
cd $(UBOOTDIR) && $(MAKECMD) distclean
|
||||
|
|
Loading…
Reference in New Issue