From patchwork Thu Aug 30 03:55:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 145493 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp341884ljw; Wed, 29 Aug 2018 20:56:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbjbSybzWM6ntjxKpViRwiYSQIX7cwVB0ApvuezEaT+lCAzTI1SDc5BukNBYU8WRXd6YEMC X-Received: by 2002:a63:d645:: with SMTP id d5-v6mr8052888pgj.450.1535601384142; Wed, 29 Aug 2018 20:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535601384; cv=none; d=google.com; s=arc-20160816; b=dWg88t5Z7ib2dWrjAJHJMpZ49TeQn87pLLcsodcx/7wEH8qaz9PJC6dHqkzwLMNEMm dFO6swz/8JUqRRUokwnmXRE8D26oyZwa42h75qqt69X7HHGOZjmBrSJoOZ3UuXB6IGcV WYkXgHDtIxGzbnibe7o6jWaj7Z9XGhGfPQCDbFlTON3XLFOJT3LaD5G1KeZGB5fKR9u6 LUtvTnoWMS/iaKraL8PskXBPSGB4HKqu5B9RqgxWU6XrCTZgV7Dd9ZCSLue1Yrf7tyUM Xcck5TVggw6GHfk1+KYEKz60ZPQDXiRHGYumFJiHUNJWPwoi3x5NxyoeNlFY9HjjEs3p 6OdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Y6RLvZf1O8ZO4VAvqHDgO0hB6GmkC+Jzv1XIfE1fzrY=; b=jTdTxqxi1nxlFo5RVOY/CWhM0FMOKe5TxJvji1PlFoDo4ag0k4x1OOU4ht4SsqMRp6 J6U+eaIOFDXuiMM/N2lX+nrZ7DX47QWJlAp+wXfdJZnD/TqhPVly+nLsLtWCKBbVyhEa NJFEuhdi/RVYDyh3lALBJ8lbQyAc0gB1ApNxTwX0zKGWA6eJdt4StrBxFzkxvk2ldqK+ mLmRL9QvVlvXA2AI939oY7vRKKekjaSmPqhu2QLkGB0yHnbfMmH9v9yCT8RopbbtZTAS NIopWmoBO+hsMAtCUO3f0es6/9b9lIDWmFsTZVBcr4qBDklEk3XSqP15l6LD7hT/5aVS rGMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pmWUKIWo; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b10-v6si5842986pgi.416.2018.08.29.20.56.23; Wed, 29 Aug 2018 20:56:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pmWUKIWo; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5591B793EA; Thu, 30 Aug 2018 03:56:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by mail.openembedded.org (Postfix) with ESMTP id 2908C793C6 for ; Thu, 30 Aug 2018 03:55:53 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id r1-v6so3263877pgp.11 for ; Wed, 29 Aug 2018 20:55:54 -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; bh=riFdID8495wIp+0Ys3gtcU+GG8i13lWaEiTz+UPAFr8=; b=pmWUKIWoBxtqYnRBIsGOTRO5CZyABeXXiax+xlmjj6GzSMeCt7I2tOqb+1zstV8GhP 8buJXQmkR3X50IGsdtZXESeD7H4MZBaoA5Xnadd0jrU3lkQeLhUftiIg8cerlhhJUmJg JZGp5nwDsM9kCuoHaX2PJJG7mYrD3e6qXSolwpebaws38G7UINlj68E4GZPhQtSikGx5 /nFZaqBG3xVgCEfeJ5iKOw/el/Zyrqxk680O4Dn+FqwSu270LMtg034a+LTS3GyUtmGc AS1uxUEu1JzUzFyR+as68UoLFLiHPx5G5ZoWfxTNTxEdFci+jtkLTXkQcLAX7bzKYquj Y59w== 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; bh=riFdID8495wIp+0Ys3gtcU+GG8i13lWaEiTz+UPAFr8=; b=alktRKcogjRjBkTYn+A5eQyHyNPMro8tKsbIgU5l4P4g5ue3PVa3gj24Uij07gVzm2 rIzgQYfX5p7KdXp1SHZ4+4RUteIotFf7bXA62+t3p+xqLO+2fl/WjNOfJxtaLi4y3RuK qJL6mdFeHPQjDvest1kesDHXOWOWqRBwKfkPQKEK4JqTxQS8pwC+33lV3LFodHwRFmHz WmuHJXxtfPioQ+3GWWwffqc4fKjpgwfYPWFLvjCL6NHKADCQ8tNmEWdTW7QaXH7pOlRe 8fCduRwGTbakTJzw/FhLQNRDz2dTU2jqmTycYBSVKJf/KVNLpn0n4grqeW1XJdZ30U7g DJjw== X-Gm-Message-State: APzg51B4V6Vr8cwDYVlbCLQcIPnlUPqW02S7WFzX6ECjBdcjj2znTmQt 2bjANBs8bThQ/5oH0jzVYeyJjmZJ X-Received: by 2002:a63:1948:: with SMTP id 8-v6mr8126419pgz.192.1535601354032; Wed, 29 Aug 2018 20:55:54 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::f180]) by smtp.gmail.com with ESMTPSA id 77-v6sm8056381pga.40.2018.08.29.20.55.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Aug 2018 20:55:53 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 29 Aug 2018 20:55:39 -0700 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 7/7] gdb: Seprate out gold and dwp into a variable X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This is needed for riscv64 to build target binutils fixes alternatives creation Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 37813dd864..b56fcd4cd0 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc @@ -38,6 +38,9 @@ FILES_${PN}-dev = " \ # Rather than duplicating multiple entries for these, make one # list and reuse it. +LDGOLD ?= "ld.gold dwp" +LDGOLD_riscv64 = "" + USE_ALTERNATIVES_FOR = " \ addr2line \ ar \ @@ -47,7 +50,7 @@ USE_ALTERNATIVES_FOR = " \ gprof \ ld \ ld.bfd \ - ld.gold dwp \ + ${LDGOLD} \ nm \ objcopy \ objdump \