mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
boot/barebox: kconfig needs the toolchain
In barebox v2020.09.0, kconfig has been updated to a newer version based on Linux 5.9-rc2. As in linux, kconfig can call the compiler to test its capabilities. We have no way to know if a custom version would require it or not, so we just unconditionally depend on the toolchain Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
40258a3f39
commit
1c1a629d81
@ -138,6 +138,11 @@ define $(1)_INSTALL_IMAGES_CMDS
|
||||
$$($(1)_INSTALL_CUSTOM_ENV)
|
||||
endef
|
||||
|
||||
# Starting with barebox v2020.09.0, the kconfig used calls the
|
||||
# cross-compiler to check its capabilities. So we need the
|
||||
# toolchain before we can call the configurators.
|
||||
$(1)_KCONFIG_DEPENDENCIES += toolchain
|
||||
|
||||
ifeq ($$(BR2_TARGET_$(1)_BAREBOXENV),y)
|
||||
define $(1)_INSTALL_TARGET_CMDS
|
||||
cp $$(@D)/scripts/bareboxenv-target $$(TARGET_DIR)/usr/bin/bareboxenv
|
||||
|
Loading…
Reference in New Issue
Block a user