From: Robert Marko Date: Fri, 11 Apr 2025 21:18:30 +0000 (+0200) Subject: fman-ucode: select by default for layerscape/armv8_64b X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f02beaabf017aa80717f02c37d29a75c552f81;p=thirdparty%2Fopenwrt.git fman-ucode: select by default for layerscape/armv8_64b Currently, fman-ucode 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: '~fman-ucode' 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 fman-ucode 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 --- diff --git a/package/firmware/layerscape/fman-ucode/Makefile b/package/firmware/layerscape/fman-ucode/Makefile index 3dc1bfcb140..2056bc5a990 100644 --- a/package/firmware/layerscape/fman-ucode/Makefile +++ b/package/firmware/layerscape/fman-ucode/Makefile @@ -25,6 +25,8 @@ define Package/layerscape-fman CATEGORY:=Firmware TITLE:=NXP FMan ucode DEPENDS:=@TARGET_layerscape + DEFAULT:=y if TARGET_layerscape_armv8_64b + HIDDEN:=1 endef define Build/Compile