[Buildroot] [PATCH] package/uboot-tools: depend on u-boot when selected

Peter Korsgaard peter at korsgaard.com
Wed Feb 17 10:26:44 UTC 2021


>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:

 > From: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
 > The envimage creation logic only depended on u-boot when the user did not
 > specify a custom envimage source via
 > BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE . This assumes that a
 > user-provided envimage source is never 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 at nokia.com>

Committed to 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list