From patchwork Wed Sep 25 09:44:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Cownley X-Patchwork-Id: 49594 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 498EEC369BA for ; Wed, 25 Sep 2024 09:44:46 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.11563.1727257478718848573 for ; Wed, 25 Sep 2024 02:44:38 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ben.cownley@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D1E2C12FC; Wed, 25 Sep 2024 02:45:07 -0700 (PDT) Received: from e125927.manchester.arm.com (unknown [10.32.102.186]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A7D3D3F64C; Wed, 25 Sep 2024 02:44:37 -0700 (PDT) From: Ben To: yocto-patches@lists.yoctoproject.org Cc: Ben Cownley Subject: [meta-zephyr][PATCH 2/2] topics/baicow01/zephyr-toolchain-set: Set zephyr toolchain work dir Date: Wed, 25 Sep 2024 10:44:25 +0100 Message-Id: <20240925094425.20335-2-Ben.Cownley@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240925094425.20335-1-Ben.Cownley@arm.com> References: <20240925094425.20335-1-Ben.Cownley@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 25 Sep 2024 09:44:46 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/669 Currently the work dir generated by the zephyr toolchain is incorrect Setting it to correctly reflect the arch and zephyr stage Signed-off-by: Ben Cownley --- .../recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc index a193314..cd5920d 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-toolchain-zephyr.inc @@ -17,3 +17,6 @@ EXTRA_OECMAKE:append = " -DUSER_CACHE_DIR=${ZEPHYR_USER_CACHE_DIR}" # Inhibit packaging steps that require the Yocto toolchain INHIBIT_PACKAGE_DEBUG_SPLIT = "1" INHIBIT_PACKAGE_STRIP = "1" + +# Set Zephyr work directory to describe toolchain accurately +MULTIMACH_TARGET_SYS = "${ZEPHYR_BOARD}-zephyr"