]> git.ipfire.org Git - thirdparty/openwrt.git/commit
imagebuilder: exclude metadata for profiles that have no kernel 18748/head
authorEric Fahlgren <ericfahlgren@gmail.com>
Thu, 8 May 2025 22:28:52 +0000 (15:28 -0700)
committerRobert Marko <robimarko@gmail.com>
Fri, 9 May 2025 09:06:57 +0000 (11:06 +0200)
commitb88f3ebb3341281fa7e61dc4f039062e72c86b9e
tree62696dce9dc16b62a86872c2a3c24afda7684121
parent4cfd1c450181893a8063588eafd4eadef6a7e235
imagebuilder: exclude metadata for profiles that have no kernel

Device profiles that specify 'DEFAULT := n' are being included
in the imagebuilder metadata, specifically in .profiles.mk, even
though there is no kernel built for the device.  This results in
'make info' showing the device as valid, but then 'make image
PROFILE=xxx' failing with 'No rule to make target xxx-kernel.bin ...'

We exclude these profiles from the imagebuilder, avoiding these
errors.

Fixes: https://github.com/openwrt/openwrt/issues/18410
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18748
Signed-off-by: Robert Marko <robimarko@gmail.com>
scripts/target-metadata.pl