[openwrt/openwrt] ls-rcw: select by default for layerscape/armv7
LEDE Commits
lede-commits at lists.infradead.org
Sun Apr 13 02:25:24 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/598a0556b7f953db1d37059bb15759a4d88bbd3f
commit 598a0556b7f953db1d37059bb15759a4d88bbd3f
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sat Apr 12 00:06:02 2025 +0200
ls-rcw: select by default for layerscape/armv7
Currently, ls-rcw package is 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: '~ls-rcw' 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 ls-rcw package in DEVICE_PACKAGES lets select it when
layerscape/armv7 target is selected.
Fixes: #18411
Link: https://github.com/openwrt/openwrt/pull/18462
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/firmware/layerscape/ls-rcw/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/firmware/layerscape/ls-rcw/Makefile b/package/firmware/layerscape/ls-rcw/Makefile
index ca72d45b5b..901b0b72ef 100644
--- a/package/firmware/layerscape/ls-rcw/Makefile
+++ b/package/firmware/layerscape/ls-rcw/Makefile
@@ -25,6 +25,8 @@ define Package/layerscape-rcw
CATEGORY:=Firmware
TITLE:=NXP Layerscape RCW binaries
DEPENDS:=@TARGET_layerscape
+ DEFAULT:=y if TARGET_layerscape_armv7
+ HIDDEN:=1
endef
BOARDS := \
More information about the lede-commits
mailing list