]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tfa-layerscape: set BUILD_DEVICES
authorRobert Marko <robimarko@gmail.com>
Fri, 11 Apr 2025 20:57:27 +0000 (22:57 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 22 Oct 2025 16:19:10 +0000 (18:19 +0200)
commit4108db2bd884d247ef7f483856e43541d3279a43
tree9f1c36e70a22efcfd14e6df631af0d7aadc67d60
parent4b7728ba8b1105845eeb76f495142ce6e6a89f75
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>
(cherry picked from commit 03ab770da5a469e81a659574a66dd2f7275d431e)
package/boot/tfa-layerscape/Makefile