From patchwork Sat Jun 1 20:33:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1108865 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="oejMMMD+"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45GY292GMbz9s00 for ; Sun, 2 Jun 2019 06:34:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CA4B920527; Sat, 1 Jun 2019 20:34: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 TWM8+3NHtzke; Sat, 1 Jun 2019 20:34:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D254D20515; Sat, 1 Jun 2019 20:34:02 +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 01ECD1BF357 for ; Sat, 1 Jun 2019 20:34:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E3757204FC for ; Sat, 1 Jun 2019 20:34:00 +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 D4sZKPTsAGP0 for ; Sat, 1 Jun 2019 20:34:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by silver.osuosl.org (Postfix) with ESMTPS id AE6F320523 for ; Sat, 1 Jun 2019 20:33:54 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id n4so3433590wrw.13 for ; Sat, 01 Jun 2019 13:33:54 -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 :mime-version:content-transfer-encoding; bh=USkjbzRfa9qz5QHH4xVpeQMSFKLd6C24Pj4UGw7qOzQ=; b=oejMMMD+zv3CcPiOZhLFCX5CGoPK4mR1/mt7Ihsk2WHmE3rpgiBR4G6ZsPV3sXbj7z dfM2wkTopvxHS+1z2ylvV2uhLftE+CNAhBODIc55FreMR3JuaFkkNBYpXZKUeYRlA9o/ 7T5mFWSXcG3z15e6QTVKhEzwZrE1fKQzbRIpQpey9tgXUMKY/yvaX2s+gB2LohE+TT0V fRrA3FFKlLQATxV6iMk+TWNCFasHs2wA/Ee9NHn1HgP1CBKV9uwVcstrQgTVDBlkfiRc bwsILGJtyfYHcmLKGX7/SdAEWA1u6yCygmZWpmLndZKGaDsIJoy4DDVmrDq6+3jhevlX c6Kw== 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:mime-version:content-transfer-encoding; bh=USkjbzRfa9qz5QHH4xVpeQMSFKLd6C24Pj4UGw7qOzQ=; b=nHke6uALXwvRuCvzJYInP41q8U4B0WlgThaItnAO89uWDj6pl7J0sGKI8CubWIxb82 k6b2Emv8QPCObUt3noSAAfaqjnNmFuQLUyvpfUVA+9uGG89rf5lvDJ6CnknB2quW3evQ fgbMUuE37JwXaEWsIL73RlRRtTchJ/OHgL6VviNvFg7wcKj7vhr0SDEApXKhJHa83BDJ iQbngdstZtBQ/KtxHtx2G1zTeF3/SZ9xqhW51T3vTf/9k5wXrKAnEBZouXG9lunhlXR7 n7Uku3Vlp0TzwhlAiX2truDKDQSstVmJ/9J+/xTy7dNC5qeQ6831jD/oyPqcAbJ3NTad iQww== X-Gm-Message-State: APjAAAXVxgvxqbw6wtWnJ68EAE/qv7aF+LAORHFl+eXUE91FOJaRBOOM B+z/m3CtYD4mPNP0HRD7iChlK664 X-Google-Smtp-Source: APXvYqzZ7NemvVEw8qevzulf6s8CeeAliGJWN8kyqDWVgWlLiPqXIY26n3PdapZxkBRkkDy1jVveAw== X-Received: by 2002:adf:ecca:: with SMTP id s10mr11117617wro.168.1559421233060; Sat, 01 Jun 2019 13:33:53 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb19:829a:2800:576:5e42:b4aa:cff2]) by smtp.gmail.com with ESMTPSA id 35sm10298096wrr.73.2019.06.01.13.33.52 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 01 Jun 2019 13:33:52 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 1 Jun 2019 22:33:50 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] toolchain: allow architectures to enforce compilation flags 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: Alexey Brodkin , "Yann E. MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Yann E. MORIN Cc: Alexey Brodkin Cc: Thomas Petazzoni Cc: Arnout Vandecappelle --- toolchain/toolchain-wrapper.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/toolchain-wrapper.mk b/toolchain/toolchain-wrapper.mk index ca66fa7ba4..8f872506ec 100644 --- a/toolchain/toolchain-wrapper.mk +++ b/toolchain/toolchain-wrapper.mk @@ -17,6 +17,7 @@ TOOLCHAIN_WRAPPER_ARGS = $($(PKG)_TOOLCHAIN_WRAPPER_ARGS) TOOLCHAIN_WRAPPER_ARGS += -DBR_SYSROOT='"$(STAGING_SUBDIR)"' TOOLCHAIN_WRAPPER_OPTS = \ + $(ARCH_TOOLCHAIN_WRAPPER_OPTS) \ $(call qstrip,$(BR2_SSP_OPTION)) \ $(call qstrip,$(BR2_TARGET_OPTIMIZATION)) From patchwork Sat Jun 1 20:33:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1108864 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=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="Rt7Vb16y"; 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 45GY273SRnz9s00 for ; Sun, 2 Jun 2019 06:34:07 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1194586DB4; Sat, 1 Jun 2019 20:34:05 +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 Xr5zk-12HOak; Sat, 1 Jun 2019 20:34:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 28D0586CB4; Sat, 1 Jun 2019 20:34:04 +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 26AB21BF95A for ; Sat, 1 Jun 2019 20:34:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EE60A20515 for ; Sat, 1 Jun 2019 20:34:00 +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 kSXe1Kkj0ByS for ; Sat, 1 Jun 2019 20:34:00 +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 silver.osuosl.org (Postfix) with ESMTPS id A543220524 for ; Sat, 1 Jun 2019 20:33:55 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id w13so8655976wru.11 for ; Sat, 01 Jun 2019 13:33:55 -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 :mime-version:content-transfer-encoding; bh=HNTjfvChdA1oqG7Xx6CTnksQ56xOATBvGtXD8VWFXNk=; b=Rt7Vb16yPIPgnC6N9vY2gV/BWZXrF+5zCRuNK5M+PRPq4EDXOsVo+gxfiZsWPR9aGZ Fp4muUIdCr6bcQDL2/SQq9xbOrseBCspH0TSZteLujW5WH0+HVFNT1MdFnFZkcEDLIqB eznSkcyTZb6AC+iJeG9kF10qf0TaB8eV/CcekXNaXeoZoH2My1F2FxxbR2eBCFL1tGZc 0pJZh4s/yGV+HCJN8oq9VVIjwb3lTzY4Zl6LBPIngsSFqAC/KZFbve380oIboLsDsA5R y2lYz+e5GPwUuP9vqCLxzxkw1TicVxrvFsb3F5yIYWMG1MjbNC6FmKp76HTtVAu0PYB9 LLUg== 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:mime-version:content-transfer-encoding; bh=HNTjfvChdA1oqG7Xx6CTnksQ56xOATBvGtXD8VWFXNk=; b=QmpOGp3nj7uPSMIZbhJzjUZ2UYQwALZPKOzQUFOYfqM+2OnG9DW/iyK3km7CGAAmOn nFn2txtXKEfAfk2YHzznHd1mVxz8ObBfIv4Rb1yYAdwPRsVuP8sfH3IV6h7UPO83XPvq cGLBLq0Bf2XxWxrn1lZUkOQuTHcOEgRywfZs7HHKsKmaFVwkW5Ujm9p6p18uHv0leVsn VHtfhN0rjDaqR4Q/T3JkbJQrQ0CMwYc0qqyjlWLqf7B7DVxqMrYbjG0gSnSyxBab5xsb guPefc5zg14f7rTCuqG/qsdl4UKxCrkp2ZI842FKMxHd8QyUjpWcpAP4g7alOgtgXxvw d8Zw== X-Gm-Message-State: APjAAAX4O4P3B8RGC2GSlj6PGV6GMuuLhWo0Xm1errjS+s0C1QWqAKes ZBZlFVcMAxzFYNFgWHTbK3JBYhbz X-Google-Smtp-Source: APXvYqx3kFfji1l5CXpcAhKvHhUyoMCtmXJFJ1uQ7EjjDjqB8d8/Afl5onyNgnGtgJ5mLkzV+t7ykQ== X-Received: by 2002:a05:6000:1150:: with SMTP id d16mr11581442wrx.63.1559421233965; Sat, 01 Jun 2019 13:33:53 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb19:829a:2800:576:5e42:b4aa:cff2]) by smtp.gmail.com with ESMTPSA id 35sm10298096wrr.73.2019.06.01.13.33.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 01 Jun 2019 13:33:53 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 1 Jun 2019 22:33:51 +0200 Message-Id: <16241cb355b045ba585ba806f0f4c829f5aea9f8.1559421222.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] arch/arc: arc7x0 always needs -matomic 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: Alexey Brodkin , "Yann E. MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" As reported by Alexey: https://patchwork.ozlabs.org/patch/1087480/ https://patchwork.ozlabs.org/patch/1087471/ Reported-by: Alexey Brodkin Signed-off-by: Yann E. MORIN Cc: Alexey Brodkin Cc: Thomas Petazzoni Cc: Arnout Vandecappelle --- arch/arch.mk.arc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 arch/arch.mk.arc diff --git a/arch/arch.mk.arc b/arch/arch.mk.arc new file mode 100644 index 0000000000..d324e5c1e1 --- /dev/null +++ b/arch/arch.mk.arc @@ -0,0 +1,4 @@ +# ARC7x0 needs -matomic, always +ifeq ($(BR2_arc750d)$(BR2_arc770d),y) +ARCH_TOOLCHAIN_WRAPPER_OPTS = -matomic +endif