diff options
author | David Bauer <mail@david-bauer.net> | 2019-01-04 21:17:20 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-03-18 20:41:02 +0100 |
commit | dcfca830a85690d6973bf065be0070ec56f8aeb6 (patch) | |
tree | b5667b0dce17d8265b68353df85c7d78ecca75e4 /target/linux/ipq40xx/image/Makefile | |
parent | 400601f0e341115eb87fd73032c08559c30491ef (diff) | |
download | upstream-dcfca830a85690d6973bf065be0070ec56f8aeb6.tar.gz upstream-dcfca830a85690d6973bf065be0070ec56f8aeb6.tar.bz2 upstream-dcfca830a85690d6973bf065be0070ec56f8aeb6.zip |
ipq40xx: copy Fritz4040 UBoot to STAGING_DIR_IMAGE
Copy U-Boot to STAGING_DIR_IMAGE (and append it to the EVA-image from
there) to fix image generation using the image-builder.
Also remove the bootloader from DEVICE_PACKAGES and instead use the
BUILD_DEVICES directive from within the U-Boot makefile.
This fixes eva-image generation using the OpenWRT image-builder.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 634c733065256979835ca3d7218ae8203a693683)
Diffstat (limited to 'target/linux/ipq40xx/image/Makefile')
-rw-r--r-- | target/linux/ipq40xx/image/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile index 38600cf979..90d9dfeff0 100644 --- a/target/linux/ipq40xx/image/Makefile +++ b/target/linux/ipq40xx/image/Makefile @@ -80,12 +80,12 @@ define Device/avm_fritzbox-4040 BOARD_NAME := fritz4040 DEVICE_TITLE := AVM Fritz!Box 4040 IMAGE_SIZE := 29753344 - UBOOT_PATH := $$(BIN_DIR)/u-boot-fritz4040/uboot-fritz4040.bin + UBOOT_PATH := $(STAGING_DIR_IMAGE)/uboot-fritz4040.bin UBOOT_PARTITION_SIZE := 524288 IMAGES = eva.bin sysupgrade.bin IMAGE/eva.bin := append-uboot | pad-to $$$$(UBOOT_PARTITION_SIZE) | append-kernel | append-rootfs | pad-rootfs IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata - DEVICE_PACKAGES := fritz-tffs fritz-caldata u-boot-fritz4040 + DEVICE_PACKAGES := fritz-tffs fritz-caldata endef TARGET_DEVICES += avm_fritzbox-4040 |