From patchwork Sun Sep 27 14:37:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1372075 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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.a=rsa-sha256 header.s=20161025 header.b=m/xNbwbg; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BzpD55flcz9sSf for ; Mon, 28 Sep 2020 00:38:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F32F186460; Sun, 27 Sep 2020 14:38: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 PU7akx6xfRiz; Sun, 27 Sep 2020 14:38:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 58A2585CC3; Sun, 27 Sep 2020 14:38:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B96221BF37F for ; Sun, 27 Sep 2020 14:38:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B5F61845AA for ; Sun, 27 Sep 2020 14:38:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J_vapqpkP1wy for ; Sun, 27 Sep 2020 14:38:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 64F5084597 for ; Sun, 27 Sep 2020 14:38:01 +0000 (UTC) Received: by mail-wr1-f43.google.com with SMTP id g4so8912585wrs.5 for ; Sun, 27 Sep 2020 07:38:01 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=EgukglzA7XhWvjJhUQBhWtB2EPJlY6DgAf6MQ0d/P5o=; b=m/xNbwbghx/NFITfeqERsG0Xp/5tfh/S3I5QzIeoBcnj5lsKy7uGuygYPYIw/eC4sL OpnEpE741hHfPwmQ/2Wa/BBh0+4NfU7ZTAsodWqWAdnAN989yX1GXBOEgz9DGrhgJCeB U/CTMDr6kOhh0/ttRUnizQUr1DcrnXKFYlF6Om4PHWEHJi0+M2pIyuZ7/kPQKs5PsPfE fzTn3x8EOqwTjvHVDbJb8ETVkQnTabcCTPE1cjeEkJ92GLqCWZ8IUS6RuaJTXMLMi/Ht 76QbLN3zoi7qSqYbwSFsk3MGXvdCtfjjvcMNalESA73q+L3tE2xLMhc2u5LW0xKjLlYJ HeUg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=EgukglzA7XhWvjJhUQBhWtB2EPJlY6DgAf6MQ0d/P5o=; b=XHJInvusEvbJX3uTko3Z3O+JGfyoXVyS/iNvAOrHoWlqcWWEy9A48wU5js9Fmch3QP CjuuhN6qEdFCh2IVFanMJoNCBCUfNBbocK0U8GcOvcrlpV8GOt2L6fKCtS5CGq4OoXfq dsW6XE2mm6xJp9AUWdqTNgZUqkK9vcZkrRx6GbZKJCxIvR3SYw3WyGed8Y8XJ+QI8Avl GTxp8+Cll2qXHn11dEkE06lXsrgm1aXQSGJYlJXrVZ3TwWoq+lNiUB+plLpjx6pGK6/8 ax4K+t+Q3qVDrErwAcAuJIK2vejB2Q0BAusehoS2ulWLOggw/r+2ZS1DqivY6K5V/8ss 77Ow== X-Gm-Message-State: AOAM5312wqnxyNH/eDeAgGGXuEpeLjrsvjC0Wic8Q8FRjiIq28z6VYEV 14+CKaFl/JC+JDfzCTKuq7xr/VOxaD0= X-Google-Smtp-Source: ABdhPJxxNaU1viBkAHiTMWZ81zvpKC2Xr2tFeTb/09enlh6Rx5vl4LkVT49c1BZrmHG8DyNSIBeCjg== X-Received: by 2002:a5d:4e8c:: with SMTP id e12mr15077099wru.180.1601217479774; Sun, 27 Sep 2020 07:37:59 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id c79sm5951390wmd.41.2020.09.27.07.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2020 07:37:59 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sun, 27 Sep 2020 16:37:51 +0200 Message-Id: <20200927143752.1498115-2-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200927143752.1498115-1-romain.naour@gmail.com> References: <20200927143752.1498115-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] support/scripts/gen-bootlin-toolchains: add missing glibc toolchain dependencies X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" glibc toolchains must be disabled for MMU less configuration. Signed-off-by: Romain Naour Cc: Thomas Petazzoni --- support/scripts/gen-bootlin-toolchains | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains index bfc7237d48..62cdb48478 100755 --- a/support/scripts/gen-bootlin-toolchains +++ b/support/scripts/gen-bootlin-toolchains @@ -244,12 +244,16 @@ class Toolchain: if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC"): selects.append("BR2_TOOLCHAIN_EXTERNAL_UCLIBC") elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC"): + # glibc needs mmu support + depends.append("BR2_USE_MMU") # glibc doesn't support static only configuration depends.append("!BR2_STATIC_LIBS") selects.append("BR2_TOOLCHAIN_EXTERNAL_GLIBC") # all glibc toolchains have RPC support selects.append("BR2_TOOLCHAIN_HAS_NATIVE_RPC") elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL"): + # musl needs mmu support + depends.append("BR2_USE_MMU") selects.append("BR2_TOOLCHAIN_EXTERNAL_MUSL") # gcc version