From patchwork Fri Aug 3 14:01:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 143409 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp195025ljj; Fri, 3 Aug 2018 07:01:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpemvzfOUvAXzAkq+QVT/LpQ5QiA8sjA480mADpeTUTXdP4Wsb4c3zMYHy3k/2YHNz9flnFd X-Received: by 2002:a63:bf08:: with SMTP id v8-v6mr3833202pgf.3.1533304906695; Fri, 03 Aug 2018 07:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533304906; cv=none; d=google.com; s=arc-20160816; b=E/+A+Att0LnLjN48pX6yXtEiNhT2d5nSlQt7pxbduB9kETU+Y5UmTfDlcEFeTUCQEY SC6saE7UUWbqinXeTSc3CzTN9TOuogp5i2nJQaDT2xNs8CHd27w7CMr+3IphkOQ6KgKZ zGMm9SMEY2NrAOJrxhngpcwrMXAU0Kiyk/PEkyAqiCYPT1S8Ve0wGDZfsNesUWnLw6pN HeQFMvm1+8S6uwiaNnFB2S9mGeCpVDykiH4o4iqchX/c7KLdczMzwtamAXBpr+woGj9s YdJl877sRT9xA4u03zcKwlbXiXUvs2d4L7rsg8lJmPhSyF2NgV72aKbgi39CWqEQtmsY eehg== 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=twCJowQ/C0tdZKgva9nHUfo86UDncdtanRYMymF74p0=; b=oufy2wGc0W4Q5or46goa56j6TsCeI9uo3nGFbXmWZENCmak2B4DZ4cB8MwMfaf7nKW n/8HYF7+b8bjO2V9sjs9EQxPWAPZ95D1WveRAFe66hDYBNWkr2NdXfxgvjD6NG9SGtuM WJ9fM5khTs5xK3x0MLtXmsnBQWBDYspBQ8K+IKg6imjVJeGSn/6LRPwDjDIqCEftgfVG B8fqskX53P+xlGYKtt2VxFiP8kmYEAVAsfK6IrG1ruvmT6Z1uIEDu752qDvbmw+AQa67 Seq6q+9BHISaovOnPkMKMskkTsatX7LPwYzvfrgwT3VDARmiO6CTyxmFnnpJVQDdLwbu VV6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=X25YLl78; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l15-v6si4763674pgh.593.2018.08.03.07.01.45; Fri, 03 Aug 2018 07:01:45 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=X25YLl78; 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=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3626D78E4D; Fri, 3 Aug 2018 14:01:42 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mail.openembedded.org (Postfix) with ESMTP id 1106E78A02 for ; Fri, 3 Aug 2018 14:01:31 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id h10-v6so5518970wre.6 for ; Fri, 03 Aug 2018 07:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=S/3MaBPp0coWRBRu9fSKeg4CC0TDJL+HTrlC3p1OnVM=; b=X25YLl78vqGnXlUulBiGQZPDDVA/E3X16mm+wOTo9NIqrKHDCvUAf4pVbS5QWqmxPg QyU3Rn7of/US45R8k3sVN0BdFKuSc6Ta7pruFqnl7ez4inG7/aelxH9ymYcxMdbgVJYT Btf4PwzlwOHUA9+lTO6FTld6sBr4eKro4nE9ocMQy3rn13/7QRtGsNPzMKc1QuUKnjnJ twQNH6ZgyaILhfWY30ryJmkUTHo3HL6n8KdxnQCLJSEHy/mxgWrjsoxL58RWzFaEHeVO 8omKF+CN6FnujIUP7bZ7+whal2FEp6EtecqBqhm0QjVOyS6+80tqktH0RP+ePRFVThtV Jo4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=S/3MaBPp0coWRBRu9fSKeg4CC0TDJL+HTrlC3p1OnVM=; b=H4rlCC24jbOzdsJ8XrNMhwynZS9V0gtBdCZKdBXW123BL+0tbfO51AFBUVhao+nr0n tLfE5OSuzjp4AQ3AlEzkIpY/6D+eoC9cBms/MRFcuIX85YH0ljdIi2mtxSobDjs5EZNI +uzCaMMvgXjGij0DqvYOPAofbgYnx5AOPKztZCRjgd2pLRiByYM0H114MJPwYtH+3Yfi vEYfDfEWLC0kqgVKw7dN/TWja09HHzN4SPLpGkJicbjYMZ1CzQ5bkLKdzkHAo74z1G/z +HRVf2oCfpcmieSnz8L576Xt0p0/h/6cLR9or+EsAuNOMUmHWYhadGChN28Afe31s8Qf TRwA== X-Gm-Message-State: AOUpUlHMM4iCnXSmIRDCaOZYbh4i1yiayB/cZtX1+MV5uBtNJpNhXoY6 MDvDFDDUhMZZaWw8sBCn7cfVRGS5Lrg= X-Received: by 2002:adf:f342:: with SMTP id e2-v6mr2653370wrp.161.1533304892493; Fri, 03 Aug 2018 07:01:32 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id e141-v6sm7753757wmd.32.2018.08.03.07.01.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 07:01:31 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 3 Aug 2018 15:01:13 +0100 Message-Id: <20180803140115.25450-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180803140115.25450-1-ross.burton@intel.com> References: <20180803140115.25450-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/4] toolchain-scripts: put TARGET_ARCH and TARGET_OS into environment 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 It's useful for the SDK to know exactly what TARGET_ARCH and TARGET_OS are, specifically for SDK QA. Signed-off-by: Ross Burton --- meta/classes/toolchain-scripts.bbclass | 3 +++ 1 file changed, 3 insertions(+) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 63b07c802f4..6d1ba69473a 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -52,6 +52,9 @@ toolchain_create_sdk_env_script () { echo 'export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"' >> $script echo "export OECORE_ACLOCAL_OPTS=\"-I $sdkpathnative/usr/share/aclocal\"" >> $script echo 'export OECORE_BASELIB="${baselib}"' >> $script + echo 'export OECORE_TARGET_ARCH="${TARGET_ARCH}"' >>$script + echo 'export OECORE_TARGET_OS="${TARGET_OS}"' >>$script + echo 'unset command_not_found_handle' >> $script toolchain_shared_env_script