package: uboot-qoriq: fix T4240RDB u-boot selection
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run

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: c5d3d5fe28 ("package: u-boot: initial support for qoriq arch")
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21514
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Pawel Dembicki 2026-01-12 09:39:16 +01:00 committed by Robert Marko
parent 19b8d391a9
commit 20727f89d5
2 changed files with 3 additions and 1 deletions

View file

@ -36,12 +36,14 @@ endef
define U-Boot/fsl_T4240RDB-nor
NAME:=NXP T4240RDB NOR Boot
BUILD_DEVICES:=fsl_T4240RDB
UBOOT_CONFIG:=T4240RDB
UBOOT_IMAGE:=u-boot-dtb.bin
endef
define U-Boot/fsl_T4240RDB-sdboot
NAME:=NXP T4240RDB SD Card Boot
BUILD_DEVICES:=fsl_T4240RDB
UBOOT_CONFIG:=T4240RDB_SDCARD
UBOOT_IMAGE:=u-boot-with-spl-pbl.bin
endef

View file

@ -4,7 +4,7 @@ define Device/fsl_T4240RDB
DEVICE_DTS_DIR := $(DTS_DIR)/fsl
DEVICE_PACKAGES := \
kmod-eeprom-at24 kmod-gpio-button-hotplug kmod-hwmon-w83793 kmod-leds-gpio \
kmod-ptp-qoriq kmod-rtc-ds1374 u-boot-fsl_T4240RDB-nor u-boot-fsl_T4240RDB-sdboot
kmod-ptp-qoriq kmod-rtc-ds1374
FILESYSTEMS := squashfs
KERNEL := kernel-bin | gzip | fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
IMAGES := factory-nor.bin.gz sdcard.img.gz rcw.bin sysupgrade.bin