From patchwork Fri Aug 3 20:16:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 953377 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="N5O+OTdA"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41hyy02F4zz9s4c for ; Sat, 4 Aug 2018 06:17:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 335682E156; Fri, 3 Aug 2018 20:17:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ysaKZTKuzCZv; Fri, 3 Aug 2018 20:17:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C30602E1C6; Fri, 3 Aug 2018 20:17:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2B0CA1C1694 for ; Fri, 3 Aug 2018 20:17:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2804E88B80 for ; Fri, 3 Aug 2018 20:17:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9EGpblndGWhI for ; Fri, 3 Aug 2018 20:17:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 3901288BC9 for ; Fri, 3 Aug 2018 20:17:02 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id g1-v6so2977238wru.2 for ; Fri, 03 Aug 2018 13:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=8iwfxqz+QhMPo/SWSQabsVmNkpzKixZ87cRf5+JFe4E=; b=N5O+OTdAC4n3KRkg3bB2H+IJydrmeAxNd003EzXJEq6KbQfVEFDF8I/DRNYgGcNXbn 4uSb45H2YUDFMTuS3X5bUlXxOpmO1JKcm8mb8ep5ncpaBDa1DM5D40U8qkQX0SIpLpoK BHo+0F3HQpgQPhdsxDacEys6n8YiNqft5lEVLWnSdXdFT8uCxduDceof0u2Sd8vGe0gG jXuYZL64CPt+g4UcgzvJHhtwm8tHNHK03DPtKwnRe9Aoris2XL5/onI9SHx+enmLWqGQ uaY0Uj1ATQU4Zpc7BwO6f5O63Xh7vPyRbHrC/B4OT4YFYdZOH/2RXFuFnKyNx+68bcSy ra8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=8iwfxqz+QhMPo/SWSQabsVmNkpzKixZ87cRf5+JFe4E=; b=tRdMBIu14c3WxAbT/rPuiv7bCRXaccLBmY28koJtRwVQP44284k1RAETwKwuBO/7o/ dAlkKDz2GDeyrZ67+/KbXL6PLLwyGHmRmaZ61NH8bKv6j3Tc/5o+zVUhJhDptLuaCg5T Kd7opU6D8Zh7vKFXeCDkCtYEwgncIusOwVcz/L4aAPkPQ38nAkfoaQpZJZMb6oHzQ1VA 0z5Wc3lxbL7mqXGnaD+G+EC5XPtZv+w/bq6dX6EmPsAxCYuUzOJlRK+zLMjaRAj67xJp /pbe3/CqCi6JVjPHlyJ5Id0RiQw2QMLdbbR1+Owrx6gOW44lyX3P8PVJyOQrIAxqmbIF +9uw== X-Gm-Message-State: AOUpUlEFUxVWcZ/+vKVxO6tog++kZYCMfn5F4xvvnz39botPcsednivT oJ7ibAII+UmWoaOFA1o//Gz5w5az X-Google-Smtp-Source: AAOMgpfENylZVlLwrYAhcpof9SxB7CfhUf/ndUdSetiweLOuUUFG//1/y1lRK0AwkwiDmU+ztjiJ1w== X-Received: by 2002:adf:de84:: with SMTP id w4-v6mr3681027wrl.270.1533327420574; Fri, 03 Aug 2018 13:17:00 -0700 (PDT) Received: from scaer.bzh.lan (2a01cb0886107300a556795e0851f8aa.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:a556:795e:851:f8aa]) by smtp.gmail.com with ESMTPSA id e133-v6sm465823wma.33.2018.08.03.13.16.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 13:16:59 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 3 Aug 2018 22:16:56 +0200 Message-Id: <5878b50c7b69951bc528d25c98a691a888ee5051.1533327111.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Subject: [Buildroot] [PATCH 3/3 v3] linux: kconfig needs the toolchain X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 Tested-by: Jan Kundrát Reviewed-by: Jan Kundrát --- Changes v1 -> v2: - take advantage of the kconfig-package infra (Thomas) --- linux/linux.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 60dad3a249..48b2a16ce7 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -68,6 +68,11 @@ LINUX_DEPENDENCIES = host-kmod # shipped with the kernel sources, so we need flex and bison. LINUX_KCONFIG_DEPENDENCIES = host-bison host-flex +# 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