* [Buildroot] [PATCH] boot/uboot: kconfig needs the toolchain
@ 2021-11-16 18:00 Yann E. MORIN
2021-11-21 21:28 ` Thomas Petazzoni
2021-12-10 22:03 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-11-16 18:00 UTC (permalink / raw)
To: buildroot; +Cc: Yann E. MORIN
Starting with uboot 2021.10, with upstream commit 473fc279c89 (kconfig /
kbuild: Re-sync with Linux 4.20), the kconfig in uboot now needs the
compiler to detect its features.
Like was done for linux in 3fc990a7983 (linux: kconfig needs the
toolchain) and barebox in 1c1a629d814 (boot/barebox: kconfig needs the
toolchain), add the toolchain to the kconfig dependencies of uboot.
Reported-by: Davian on IRC
Reported-by: Xogium on IRC
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
boot/uboot/uboot.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index a10e224501..9661f901ea 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -525,7 +525,11 @@ UBOOT_DEPENDENCIES += \
$(eval $(generic-package))
else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
UBOOT_MAKE_ENV = $(TARGET_MAKE_ENV)
+# Starting with 2021.10, the kconfig in uboot calls the cross-compiler
+# to check its capabilities. So we need the toolchain before we can
+# call the configurators.
UBOOT_KCONFIG_DEPENDENCIES += \
+ toolchain \
$(BR2_MAKE_HOST_DEPENDENCY) \
$(BR2_BISON_HOST_DEPENDENCY) \
$(BR2_FLEX_HOST_DEPENDENCY)
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] boot/uboot: kconfig needs the toolchain
2021-11-16 18:00 [Buildroot] [PATCH] boot/uboot: kconfig needs the toolchain Yann E. MORIN
@ 2021-11-21 21:28 ` Thomas Petazzoni
2021-12-10 22:03 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2021-11-21 21:28 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: buildroot
On Tue, 16 Nov 2021 19:00:41 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> Starting with uboot 2021.10, with upstream commit 473fc279c89 (kconfig /
> kbuild: Re-sync with Linux 4.20), the kconfig in uboot now needs the
> compiler to detect its features.
>
> Like was done for linux in 3fc990a7983 (linux: kconfig needs the
> toolchain) and barebox in 1c1a629d814 (boot/barebox: kconfig needs the
> toolchain), add the toolchain to the kconfig dependencies of uboot.
>
> Reported-by: Davian on IRC
> Reported-by: Xogium on IRC
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> ---
> boot/uboot/uboot.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] boot/uboot: kconfig needs the toolchain
2021-11-16 18:00 [Buildroot] [PATCH] boot/uboot: kconfig needs the toolchain Yann E. MORIN
2021-11-21 21:28 ` Thomas Petazzoni
@ 2021-12-10 22:03 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-12-10 22:03 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> Starting with uboot 2021.10, with upstream commit 473fc279c89 (kconfig /
> kbuild: Re-sync with Linux 4.20), the kconfig in uboot now needs the
> compiler to detect its features.
> Like was done for linux in 3fc990a7983 (linux: kconfig needs the
> toolchain) and barebox in 1c1a629d814 (boot/barebox: kconfig needs the
> toolchain), add the toolchain to the kconfig dependencies of uboot.
> Reported-by: Davian on IRC
> Reported-by: Xogium on IRC
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Committed to 2021.02.x and 2021.08.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-10 22:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 18:00 [Buildroot] [PATCH] boot/uboot: kconfig needs the toolchain Yann E. MORIN
2021-11-21 21:28 ` Thomas Petazzoni
2021-12-10 22:03 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.