From patchwork Sat Jul 14 17:15:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 943964 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Sn4q95GU"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41SbvW6Jsdz9s1R for ; Sun, 15 Jul 2018 03:17:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B51CA89FA2; Sat, 14 Jul 2018 17:17:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PNHVVYto-YlP; Sat, 14 Jul 2018 17:17:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B06FC8943D; Sat, 14 Jul 2018 17:17:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 579D71C2BAB for ; Sat, 14 Jul 2018 17:17:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 376AC30838 for ; Sat, 14 Jul 2018 17:17:04 +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 7cWBeoJm7MUK for ; Sat, 14 Jul 2018 17:17:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by silver.osuosl.org (Postfix) with ESMTPS id 6BC5E3083D for ; Sat, 14 Jul 2018 17:15:48 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id h20-v6so11927481wmb.4 for ; Sat, 14 Jul 2018 10:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=vhD2AfWT3d8LIPQf9Fg4yjpzivLxDmE927HvYxzhJtI=; b=Sn4q95GUntA9ekZxLxJEWBOQypkr5/DRxUEKukbx3QYi0YUF7ekGWOBZI3WIXehJjl NKjflSEkqcr6blwwD9/+fo7PXV24cI4qawAmAmhGR7LUWadTevuur01rg46apMgsw3ne Ns2w7mjqhEKRE6psEk5gn8DBQu4b/tK2uHQD+OMQDml2HztPP10J0EZ+ilS9qFIi29t9 PTDTwlXEjGjsWvh3Fv7zI/MvAFPUpNLtUpJjKMeOym2zRfo9GquCSa9V909xupbkexge lJOkFhkeg3cQ6Uk3AeeYpa/orWa7i/qSOFB86ZYvyG3w+lQDssXC+9LFCXs60L9l1DMw 2+gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vhD2AfWT3d8LIPQf9Fg4yjpzivLxDmE927HvYxzhJtI=; b=JzYoqictYC8L+xXd17N5rNCtjpGWaapnnYnoF5SZmjdfk87sO0oIGmfBldPlFelSZj RE6V+XhQNI32ePm6tY8+clitO78cmPixZrbLTLFHjOdQv7FxRwdZSUVYIZy4GiWy9Yo+ cpOIYiT0PO5DRs9ThdaCmSDf07iAkGvh5t7Rr7XMzMCHsUHReog5U2kf/JWIZdVYtW9R 0eGUUG7C3J2358vpEo4O5gPV7WYWnTxIb82+9o95qsoGUDdpv86Ve/yUTg7XbxUsjNed n4G29AF4lPwBN7sf/6rau09FRTBpsMfUdy9tZ/Qs6w/TwmowBP9VNvpcvj4kAms9g/zX mlGw== X-Gm-Message-State: AOUpUlE2Eo9SjwyUDz51HKmwDH/ty+ZKPriNfd+Qwq7ky7YwZUSV8ghm Y32BlQEkirJ/niU1MUrn7QcMHr+K X-Google-Smtp-Source: AAOMgpfsi14z4A5HZ6VduxXOMqEULE/OIjR988PCBIu/mVzkofHXykf8NJha7Dy6nbVpDVNbn1RBJQ== X-Received: by 2002:a1c:ec9d:: with SMTP id h29-v6mr6561478wmi.94.1531588546466; Sat, 14 Jul 2018 10:15:46 -0700 (PDT) Received: from adeos.home (2a01cb00054978001a46adb371a118d7.ipv6.abo.wanadoo.fr. [2a01:cb00:549:7800:1a46:adb3:71a1:18d7]) by smtp.gmail.com with ESMTPSA id y127-v6sm12642553wmy.1.2018.07.14.10.15.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Jul 2018 10:15:45 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 14 Jul 2018 19:15:42 +0200 Message-Id: <20180714171542.8192-1-romain.naour@gmail.com> X-Mailer: git-send-email 2.14.4 Subject: [Buildroot] [PATCH] toolchain-external: add fortran support option for custom external toolchains 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: Romain Naour , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" If a custom external toolchain is used, we can't enable the fortran support. Add a new option for that. Signed-off-by: Romain Naour Cc: Thomas Petazzoni Cc: Samuel Martin --- .../toolchain-external-custom/Config.in.options | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 6a9921c149..5ec3f961a1 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -401,6 +401,14 @@ config BR2_TOOLCHAIN_EXTERNAL_CXX support. If you don't know, leave the default value, Buildroot will tell you if it's correct or not. +config BR2_TOOLCHAIN_EXTERNAL_FORTRAN + bool "Toolchain has Fortran support?" + select BR2_TOOLCHAIN_HAS_FORTRAN + help + Select this option if your external toolchain has Fortran + support. If you don't know, leave the default value, + Buildroot will tell you if it's correct or not. + config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS string "Extra toolchain libraries to be copied to target" help