From patchwork Wed Aug 14 05:19:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 171226 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp353858ily; Tue, 13 Aug 2019 22:19:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqSepyyf0cra/mFSm8cu3mBF24M4RGtcUKwopIIxgxmTB9l/qsG1ov5/kEWtVwh44LbbYv X-Received: by 2002:a17:902:9a8d:: with SMTP id w13mr1956461plp.157.1565759978778; Tue, 13 Aug 2019 22:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565759978; cv=none; d=google.com; s=arc-20160816; b=Y/gyWsnOpvn8GqyoD5cjhSj05P+vhKspWZp3k72/BtxQp1rilvanKF98ghPN0VXU+Q Ewgs1J5ZEj61LVj/4yT5Nm1mW4G9CMUJMWIYfV5Jpnz5fVZNaALz6eRBCOFQjnDW/F5H sPPiELMSWXh0y9FkXBrwD8E+0+4Cq/0DNOeI9QV7XPRI69vVmQX8tCpxZSd9hF0Rh2H7 OKjrC9zxerTQRo0VYQt7TsQ2+9QmlCjXy5BizOh3iBlgRGCkaG1RJHfUYA4N8VTVa4cd qDTP/71l6Khn0fnhNa7by03Qrkzu/UAFM3VjOnYKRdirklc4NT3HjzUiKildfAmhnTW8 YrRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=VN9WPbnX6Fz9dFE+ywgJndya/RVE06iqk9bHx3bicfg=; b=N8OyzbsR5WLqIrQU+6a/UMhg+skNDSfrr70e8gSeIS4C4csDpE2yyCXZGHbvX4oLVC S3tokAn3LuBFsru8HO/K9JBLvac75ZzvuHfE+QOmtnSPlp2OVRDa/aCgMcQH1iHh3732 pGhej7bq9mjkMqB1vWSHsqnwg/fpgU9qpmPqudMlHBc0v1IeEkc0HqRys1VnSDmrYmvu TD7xNiJBUnsMVKipm7V3r2VCF1ISvASkN38CMQIcGa9/Te8bHN65X6Ruon78Maz/Oz4j zEW8K6t3/Mvb53/01TpUSDLpAST8lRZleb9nq7jVxcMFuQ+K/Z+ZOcfAcQ4ASb/fGIwb k9RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FICypxGG; 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 a15si68953257pfi.48.2019.08.13.22.19.38; Tue, 13 Aug 2019 22:19:38 -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=FICypxGG; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 15AB67E995; Wed, 14 Aug 2019 05:19:32 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id 408007CE73 for ; Wed, 14 Aug 2019 05:19:29 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id d1so19658372pgp.4 for ; Tue, 13 Aug 2019 22:19:31 -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:mime-version :content-transfer-encoding; bh=1GipbrZMypiks/Ru/QPAtBDdrtLy/nQDOvhzbqx+xhw=; b=FICypxGGAnXzJzHLV0Le8arc/9AfpgfNnCaGZOTMpfvP4UuPeltCjXYQVjHL+BjA2+ zLjlMXZFtZzq6bvvssCZTXSebmNzd6rz6WTqYxRgJ2kvXN5Od9yVuryYOM+QYcizyNFe h+ZFFQYIZybefNjwayNbMmil0pIzlvG/Yx+ibE/7KYCF2oNVqTcVs7gA1zO5sIV1MzAD gWgJrRAqNX4lok17SnrPrS4sqlsVxm22tFK2uaRPuGIs2nUd50lR8X9gD24OFodNpeh6 FXkhYv4CF3TE/tqprfqTSxPEwZtMXggp+4Odi1C3UJb8IPadVXH6W/POrMppztId03Im yRXw== 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:mime-version :content-transfer-encoding; bh=1GipbrZMypiks/Ru/QPAtBDdrtLy/nQDOvhzbqx+xhw=; b=j/dv49P8aWdKP4trIpoI7/5u1gvGJ229v8kDXocEe71G1Lx3d2Atd1Mralyfyq9LgP 05uPtyjL3cnxj2wae0Bp4AKSNzlhhotE0QTX0vjphaTjeklxZe2C3Z5JovnJNSxZQsNn Ii11rQEY0Rqt80Sw8GwmL9Xhy34TwzIE+hbkTNG3y7eM1X4gF3Z+siEAl+ghF+DP4NoN rYkwPJytOcLdeKgYOVzHNKt2nu5LoBJHC9gGDzPYtV5sqxEiMrborhoSn2eF/j53WW6C /SrHgXWqu43h6rkEtRPXmKyS3bQMqEaLe+umQ9qp3HgiYLmXtO7qj6PQ3BUqcQWawUcw KWQw== X-Gm-Message-State: APjAAAXjkxA92OzM/flZzgi9+rSHk2ez44ZBTzZCZFSTDxoyZpv5/nWQ hgMCprdf7GvbPvfmBUCG6p14E4XPDB4= X-Received: by 2002:a17:90a:24cc:: with SMTP id i70mr5663307pje.12.1565759970586; Tue, 13 Aug 2019 22:19:30 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id v22sm107805527pgk.69.2019.08.13.22.19.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2019 22:19:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 13 Aug 2019 22:19:17 -0700 Message-Id: <20190814051918.42678-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] linuxloader: Add entries for riscv64 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/classes/linuxloader.bbclass | 4 ++++ 1 file changed, 4 insertions(+) -- 2.22.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass index b4c413494a..c0fbf26836 100644 --- a/meta/classes/linuxloader.bbclass +++ b/meta/classes/linuxloader.bbclass @@ -19,6 +19,8 @@ def get_musl_loader(d): dynamic_loader = "${base_libdir}/ld-musl-arm${ARMPKGSFX_ENDIAN}${ARMPKGSFX_EABI}.so.1" elif targetarch.startswith("aarch64"): dynamic_loader = "${base_libdir}/ld-musl-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" + elif targetarch.startswith("riscv64"): + dynamic_loader = "${base_libdir}/ld-musl-riscv64${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}.so.1" return dynamic_loader def get_glibc_loader(d): @@ -42,6 +44,8 @@ def get_glibc_loader(d): dynamic_loader = "${base_libdir}/ld-linux.so.3" elif targetarch.startswith("aarch64"): dynamic_loader = "${base_libdir}/ld-linux-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" + elif targetarch.startswith("riscv64"): + dynamic_loader = "${base_libdir}/ld-linux-riscv64-lp64${@['d', ''][d.getVar('TARGET_FPU') == 'soft']}.so.1" return dynamic_loader def get_linuxloader(d):