uboot-tools: dont build tools unconditionally
authorRobert Marko <[email protected]>
Sun, 23 Mar 2025 09:29:28 +0000 (10:29 +0100)
committerRobert Marko <[email protected]>
Mon, 24 Mar 2025 17:43:44 +0000 (18:43 +0100)
commit293d5f1366e099cc343a3fc8a6f936ab27bcad6a
treeb7c7f6484227ec7b35b156947db9502ee917972e
parent755108ef43ebaf4f58de7ab55308bcd63145d876
uboot-tools: dont build tools unconditionally

Currently, both envtools and the rest of U-Boot tools are being built
regardless if the dumpimage package has been selected.

This will fail if only envtools are selected since the rest of tools
require OpenSSL while envtools do not require them.

So, only build tools if dumpimage is selected.

Fixes: 46e376c93514 ("uboot-tools: migrate uboot-envtools to uboot-tools")
Fixes: #18327
Tested-by: Martin Blumenstingl <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18329
Signed-off-by: Robert Marko <[email protected]>
package/boot/uboot-tools/Makefile