From patchwork Wed Sep 25 09:36:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Cownley X-Patchwork-Id: 49596 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 9085CC369C6 for ; Wed, 25 Sep 2024 10:05:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.11462.1727257017439475311 for ; Wed, 25 Sep 2024 02:36:57 -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 9DFFA150C; Wed, 25 Sep 2024 02:37:26 -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 5ACBC3F64C; Wed, 25 Sep 2024 02:36:56 -0700 (PDT) From: "Ben Cownley" 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:36:40 +0100 Message-Id: <20240925093640.17353-2-Ben.Cownley@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240925093640.17353-1-Ben.Cownley@arm.com> References: <20240925093640.17353-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 10:05:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/670 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"