From 3fc990a79834ce20992aca963817fcb6bf456171 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Fri, 17 Aug 2018 18:06:52 +0200 Subject: [PATCH] linux: kconfig needs the toolchain MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Starting with linux-4.18, the kconfig from the kernel can call to the compiler to test its capabilities; see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/Kconfig.include Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Cc: Arnout Vandecappelle Cc: Jan Kundrát Tested-by: Jan Kundrát Reviewed-by: Jan Kundrát Signed-off-by: Thomas Petazzoni --- linux/linux.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index d6b0853518..675e7906a8 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -71,6 +71,11 @@ LINUX_KCONFIG_DEPENDENCIES = \ $(BR2_BISON_HOST_DEPENDENCY) \ $(BR2_FLEX_HOST_DEPENDENCY) +# Starting with 4.18, the kconfig in the kernel calls the +# cross-compiler to check its capabilities. So we need the +# toolchain before we can call the configurators. +LINUX_KCONFIG_DEPENDENCIES += toolchain + # host tools needed for kernel compression ifeq ($(BR2_LINUX_KERNEL_LZ4),y) LINUX_DEPENDENCIES += host-lz4 -- 2.30.2