kumquat-buildroot/package/uboot-tools
Thomas De Schampheleire 10ad952ea9 package/uboot-tools: depend on u-boot when selected
Currently, the envimage creation logic only depends on u-boot when the
user does not specify a custom envimage source via
BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE. This assumes that the
user-provided envimage source is not coming from the u-boot source
tree.

But especially given the fact that the envimage creation logic used to
be part of the u-boot package, this is a realistic scenario: users may
have provided a value of BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE
based on $(UBOOT_DIR), e.g.:

    $(UBOOT_DIR)/board/foo-vendor/bar-board/env.txt

Therefore, always add the u-boot dependency if u-boot is selected, for
either case of custom or default envimage source.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[Thomas: re-organize code a bit.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-02-16 21:21:43 +01:00
..
0001-drop-configh-from-tools.patch
0002-tools-only-in-no-dot-config-targets.patch
0003-drop-autoconf.h-from-tools.patch
0004-tools-env-fw_env.h-remove-env.h.patch
Config.in
Config.in.host
uboot-tools.hash
uboot-tools.mk package/uboot-tools: depend on u-boot when selected 2021-02-16 21:21:43 +01:00