diff options
| author | Robert Marko | 2025-04-11 20:57:27 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-04-13 09:25:14 +0000 |
| commit | 03ab770da5a469e81a659574a66dd2f7275d431e (patch) | |
| tree | 54e482b1a5346cb7f5c134892a1572f12d81db3e | |
| parent | 4a7de50769101962fd9ecc15465f6a11f0e81f9f (diff) | |
| download | openwrt-03ab770da5a469e81a659574a66dd2f7275d431e.tar.gz | |
tfa-layerscape: set BUILD_DEVICES
Currently, tfa-layerscape packages are being included in the individual
profile DEVICE_PACKAGES but using the feature that allows skipping their
inclusion in the end image package list if prefixed with a tilde(~) which
was added in:
377b66990b97 ("build: introduce support to declare skip package")
But it not added to Image Builder so currently trying to build layerscape
device images in Image Builder will fail with:
ERROR: '~trusted-firmware-a-ls1012a-frdm' is not a valid world dependency, format is name(@tag)([<>~=]version)
So, instead of having to rely on support for skipping package installation
and declaring the individual TFA packages in DEVICE_PACKAGES we can just
do what other targets do and set BUILD_DEVICES so that TFA packages are
automatically set.
Fixes: #18412
Link: https://github.com/openwrt/openwrt/pull/18462
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | package/boot/tfa-layerscape/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/boot/tfa-layerscape/Makefile b/package/boot/tfa-layerscape/Makefile index 1302e35c40..a6519ca02d 100644 --- a/package/boot/tfa-layerscape/Makefile +++ b/package/boot/tfa-layerscape/Makefile @@ -43,6 +43,7 @@ endef define Trusted-Firmware-A/Default BUILD_TARGET:=layerscape BUILD_SUBTARGET:=armv8_64b + BUILD_DEVICES:=fsl_$(1) DEPENDS:=+layerscape-rcw +u-boot-fsl_$(1) endef |