summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Marko2025-04-11 21:33:57 +0000
committerRobert Marko2025-04-13 09:25:14 +0000
commit8a28ddafe7a728b8294a8c8ca5fc92aef7af15d2 (patch)
treeb2463ebb727473936358b0e8718e793cdef78302
parent84437eeec07716bf68d3e10ffa7baf8d3570fe1f (diff)
downloadopenwrt-8a28ddafe7a728b8294a8c8ca5fc92aef7af15d2.tar.gz
ls-ddr-phy: select by default for layerscape/armv8_64b
Currently, ls-ddr-phy 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-ddr-phy' 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-ddr-phy 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>
-rw-r--r--package/firmware/layerscape/ls-ddr-phy/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/firmware/layerscape/ls-ddr-phy/Makefile b/package/firmware/layerscape/ls-ddr-phy/Makefile
index ce39ea7dc6..322f383bd6 100644
--- a/package/firmware/layerscape/ls-ddr-phy/Makefile
+++ b/package/firmware/layerscape/ls-ddr-phy/Makefile
@@ -27,6 +27,8 @@ define Package/layerscape-ddr-phy
CATEGORY:=Firmware
TITLE:=NXP Layerscape DDR PHY firmware
DEPENDS:=@TARGET_layerscape
+ DEFAULT:=y if TARGET_layerscape_armv8_64b
+ HIDDEN:=1
endef
define Build/Compile