From patchwork Fri Dec 16 17:55:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Johnston X-Patchwork-Id: 321 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 CD470C4167B for ; Fri, 16 Dec 2022 17:55:20 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.1276.1671213317704974106 for ; Fri, 16 Dec 2022 09:55:18 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: adam.johnston@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 82E791063; Fri, 16 Dec 2022 09:55:57 -0800 (PST) Received: from e114993.cambridge.arm.com (e114993.cambridge.arm.com [10.1.198.60]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 18AD23F73B; Fri, 16 Dec 2022 09:55:15 -0800 (PST) From: adam.johnston@arm.com To: meta-arm@lists.yoctoproject.org, Ross.Burton@arm.com Cc: nd@arm.com, Adam Johnston Subject: [PATCH 0/1] arm/trusted-services: Fix 'no such file' when building libts Date: Fri, 16 Dec 2022 17:55:07 +0000 Message-Id: <20221216175508.3149543-1-adam.johnston@arm.com> X-Mailer: git-send-email 2.25.1 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 ; Fri, 16 Dec 2022 17:55:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/4200 From: Adam Johnston The libts recipe assumes generated cmake file will be suffixed with '-noconfig'. This is only true when building with the default type i.e. "". Check which target cmake file has been generated before trying to patch it. This fixes 'no such file' error when building with an explicit type (Debug, Release, etc). Adam Johnston (1): arm/trusted-services: Fix 'no such file' when building libts meta-arm/recipes-security/trusted-services/libts_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Signed-off-by: Adam Johnston