]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ls-dpl: select by default for layerscape/armv8_64b
authorRobert Marko <robimarko@gmail.com>
Fri, 11 Apr 2025 21:33:24 +0000 (23:33 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 13 Apr 2025 09:25:14 +0000 (11:25 +0200)
Currently, ls-dpl 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-dpl' 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-dpl package in DEVICE_PACKAGES lets select it when
layerscape/armv8_64b target is selected.

Fixes: #18412
Link: https://github.com/openwrt/openwrt/pull/18462
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/firmware/layerscape/ls-dpl/Makefile

index b4b10b9b0df4559d6c74c7696190fd69b7c40e9d..ade37d7dffad97735fc83293be9409e95ba3bc61 100644 (file)
@@ -26,6 +26,8 @@ define Package/layerscape-dpl
   CATEGORY:=Firmware
   TITLE:=NXP DPL firmware
   DEPENDS:=@TARGET_layerscape
+  DEFAULT:=y if TARGET_layerscape_armv8_64b
+  HIDDEN:=1
 endef
 
 MAKE_PATH:=config