diff --git a/Makefile b/Makefile index f8d7425d..2b15051e 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ build: ### u-boot ### u-boot-xlnx/u-boot u-boot-xlnx/tools/mkimage: TOOLCHAIN - $(TOOLS_PATH) make -C u-boot-xlnx ARCH=arm zynq_$(TARGET)_defconfig + $(TOOLS_PATH) make -C u-boot-xlnx ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zynq_$(TARGET)_defconfig $(TOOLS_PATH) make -C u-boot-xlnx ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) UBOOTVERSION="$(UBOOT_VERSION)" .PHONY: u-boot-xlnx/u-boot @@ -89,8 +89,8 @@ build/uboot-env.bin: build/uboot-env.txt ### Linux ### linux/arch/arm/boot/zImage: TOOLCHAIN - $(TOOLS_PATH) make -C linux ARCH=arm zynq_$(TARGET)_defconfig - $(TOOLS_PATH) make -C linux -j $(NCORES) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage UIMAGE_LOADADDR=0x8000 KCFLAGS='-mcpu=cortex-a9 -mfpu=vfpv4 -mfloat-abi=soft -O2' + $(TOOLS_PATH) make -C linux ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zynq_$(TARGET)_defconfig + $(TOOLS_PATH) make -C linux -j $(NCORES) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) zImage UIMAGE_LOADADDR=0x8000 .PHONY: linux/arch/arm/boot/zImage