Skip to content

Commit 7f9363a

Browse files
CHKDSK88hauke
authored andcommitted
package: uboot-qoriq: fix T4240RDB u-boot selection
Mark T4240RDB u-boot variants as device-built and avoid installing them into rootfs. Without this buildbot crashes during package install with: ERROR: unable to select packages: u-boot-fsl_T4240RDB-nor (no such package): required by: world[u-boot-fsl_T4240RDB-nor] u-boot-fsl_T4240RDB-sdboot (no such package): required by: world[u-boot-fsl_T4240RDB-sdboot] Fixes: c5d3d5f ("package: u-boot: initial support for qoriq arch") Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Link: openwrt/openwrt#21514 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 20727f8) Link: openwrt/openwrt#21477 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent 2723b32 commit 7f9363a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package/boot/uboot-qoriq/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ endef
3636

3737
define U-Boot/fsl_T4240RDB-nor
3838
NAME:=NXP T4240RDB NOR Boot
39+
BUILD_DEVICES:=fsl_T4240RDB
3940
UBOOT_CONFIG:=T4240RDB
4041
UBOOT_IMAGE:=u-boot-dtb.bin
4142
endef
4243

4344
define U-Boot/fsl_T4240RDB-sdboot
4445
NAME:=NXP T4240RDB SD Card Boot
46+
BUILD_DEVICES:=fsl_T4240RDB
4547
UBOOT_CONFIG:=T4240RDB_SDCARD
4648
UBOOT_IMAGE:=u-boot-with-spl-pbl.bin
4749
endef

target/linux/qoriq/image/generic.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ define Device/fsl_T4240RDB
44
DEVICE_DTS_DIR := $(DTS_DIR)/fsl
55
DEVICE_PACKAGES := \
66
kmod-eeprom-at24 kmod-gpio-button-hotplug kmod-hwmon-w83793 kmod-leds-gpio \
7-
kmod-ptp-qoriq kmod-rtc-ds1374 u-boot-fsl_T4240RDB-nor u-boot-fsl_T4240RDB-sdboot
7+
kmod-ptp-qoriq kmod-rtc-ds1374
88
FILESYSTEMS := squashfs
99
KERNEL := kernel-bin | gzip | fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
1010
IMAGES := factory-nor.bin.gz sdcard.img.gz rcw.bin sysupgrade.bin

0 commit comments

Comments
 (0)