From patchwork Sun Jan 15 04:09:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 715407 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3v1NDq2Shcz9tjw for ; Sun, 15 Jan 2017 15:10:03 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="CHm+ljqx"; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cSc8m-0004Ei-FY; Sun, 15 Jan 2017 04:10:00 +0000 Received: from mail-ot0-x243.google.com ([2607:f8b0:4003:c0f::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cSc8j-0004DY-5K for lede-dev@lists.infradead.org; Sun, 15 Jan 2017 04:09:58 +0000 Received: by mail-ot0-x243.google.com with SMTP id f9so3736297otd.0 for ; Sat, 14 Jan 2017 20:09:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=q0U+3m31Qy0A6MMcuhJcEwurGTcoNB83PW7MuxNzCSs=; b=CHm+ljqxQPXy/Eutvlu0HvC1G5MiMyE7gPsfvERXbhhtKirXtTWy1v+aiAviqPchW8 Bi5SbhGtQ2kmq9jMEJ0smw4K3qL9Y2cv3q3qNEeLaE980f/VqpbgXJlQoYAwCS6Xs7Vm rq2m2nTDiRNHioABRdrFKho5skgST79sG4q4gwS7b5rjW5Am5rMzIyKIkzR+0g/pHEHj cQFKptrxMFdqjC37hylPYchH15Nn4eIfZufYozZ8rgsbdn2ApuN55xwuufMGND0xjs1a uoIJxyEFFSbyPFWMXR7m1xpZlyQSnCCU5QrsHgXgFosxmqu79uIIi05wIRsqddRrkF+M 8TBw== 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=q0U+3m31Qy0A6MMcuhJcEwurGTcoNB83PW7MuxNzCSs=; b=OS2xYC3OhmtHcOjntomcVQXhav8o0/H1LkLDzOG+/Hsg7r6Yu1PCmepiI9E+3Dy0hA ewpGiz759ukmou3HZiAnhZJrMvn6XIA+0pOgGgpJxxNAJNPF7TjsGhRbwB/y6/YzHF8N qRdgmrt2LLwq34oZz1xVz7Hbp1e1ZQZ95Umt7Ke9PE7vVCDY545dX54jhy/9oObbQgPH NcrX1NTcphMnvuoQomnbSLZHzAl1BHtQ1jt2BAGwr/Bix3kB6UifGmtNFlE0l/IPhsuj DCTMDgyLBjezpFtDq+jL9ooK3q6mfKh4+RikAtjLY28uVpwKpom0ZUq4JvcfvOv8X161 xLsw== X-Gm-Message-State: AIkVDXItaA9luzAsffsuZue34aDHVKQq2Ho8r14O7+zD8GVNPQxBaiq/bHRdR1Li6PjGvw== X-Received: by 10.157.32.202 with SMTP id x68mr12618200ota.192.1484453375813; Sat, 14 Jan 2017 20:09:35 -0800 (PST) Received: from bender.lan ([2001:470:d:73f:c82:8b71:3dbc:e4a3]) by smtp.gmail.com with ESMTPSA id v31sm8521153ota.26.2017.01.14.20.09.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Jan 2017 20:09:35 -0800 (PST) From: Florian Fainelli To: lede-dev@lists.infradead.org Date: Sat, 14 Jan 2017 20:09:33 -0800 Message-Id: <20170115040933.22206-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170114_200957_280456_089DF767 X-CRM114-Status: UNSURE ( 7.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (f.fainelli[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Subject: [LEDE-DEV] [PATCH] build: Suffix build directory with _$(LIBC) for external toolchains X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , jow@mein.io, john@phrozen.org MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org For external toolchain, we also know the type of C library used, and the toolchain triplet may not always be reflective of that, therefore make $(TARGET_DIR_NAME) suffixed with _$(LIBC). Signed-off-by: Florian Fainelli --- rules.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index 04fd936660be..b395e9f8fbf9 100644 --- a/rules.mk +++ b/rules.mk @@ -124,7 +124,8 @@ else GNU_TARGET_NAME=$(shell gcc -dumpmachine) endif REAL_GNU_TARGET_NAME=$(GNU_TARGET_NAME) - TARGET_DIR_NAME:=target-$(GNU_TARGET_NAME)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX)) + LIBC:=$(call qstrip,$(CONFIG_LIBC)) + TARGET_DIR_NAME:=target-$(GNU_TARGET_NAME)_$(LIBC)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX)) TOOLCHAIN_DIR_NAME:=toolchain-$(GNU_TARGET_NAME) endif