From patchwork Fri Dec 20 11:43:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Georgi, Tom" X-Patchwork-Id: 54460 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 D2D6CE77188 for ; Fri, 20 Dec 2024 11:44:31 +0000 (UTC) Received: from mx07-0040c702.pphosted.com (mx07-0040c702.pphosted.com [205.220.184.135]) by mx.groups.io with SMTP id smtpd.web11.150006.1734695064902241809 for ; Fri, 20 Dec 2024 03:44:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@karlstorz.com header.s=S-DKIM-20210427 header.b=T16Vu969; spf=pass (domain: karlstorz.com, ip: 205.220.184.135, mailfrom: tom.georgi@karlstorz.com) Received: from pps.filterd (m0267679.ppops.net [127.0.0.1]) by mx07-0040c702.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BK7Xc1i015360; Fri, 20 Dec 2024 11:44:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karlstorz.com; h=cc:content-transfer-encoding:content-type:date:from :message-id:mime-version:subject:to; s=S-DKIM-20210427; bh=0DC7C hh8DD4mGMsNtwfhnHnY12dL8kzUZg/mpj10Cgs=; b=T16Vu9691TgQwUEs8o2Fz gczS7I9ZGI881zPfPuVNoGJLdGo3IvyzyBBSQ01PMpzm1KJLrT4yprLdO1D5ksxa 8YqLQ4VkjlnCV7xfXN+dsZ3MC5lPQbuF1g0TzZIiOFI000EvZrmc7Jw5jKEVyP2M ahSwOk92fB4If91b3FPspHW9gn1I0dCW9di/oW/SHrt+JU1hqJvlBo8hHJ9dbODA H1wh8OgivLCtZYDz/NJWC48EqQ/xS4EQaeSCd39+YA2OmfPuLbiSXuSoNfSkMPBR To+VYHpxvIyW6HLmncBml1JQptxxAVKgEJAA2I++iDKp+enTVGJ4dDVra/M2ithC A== Received: from tut-ex22-pv.kstg.corp (62-134-76-232.business.static.de.bt.net [62.134.76.232]) by mx07-0040c702.pphosted.com (PPS) with ESMTPS id 43n496hsb3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 11:44:22 +0000 (GMT) Received: from TUT-EX23-PV.KSTG.corp (10.0.10.227) by TUT-EX22-PV.KSTG.corp (10.0.10.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.14; Fri, 20 Dec 2024 12:44:21 +0100 Received: from schn-8kmdb54.kstg.corp (10.0.10.41) by InternalSMTPRelay.KSTG.corp (10.0.10.227) with Microsoft SMTP Server id 15.2.1544.14 via Frontend Transport; Fri, 20 Dec 2024 12:44:21 +0100 From: "Georgi, Tom" To: CC: , "Georgi, Tom" Subject: [PATCH] devtool: ide-sdk: check 'tools-debug' for gdbserver Date: Fri, 20 Dec 2024 12:43:39 +0100 Message-ID: <20241220114337.774784-3-tom.georgi@karlstorz.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: vRy4Pc6PaSCKDfM1KEWteNb6gB_BovI1 X-Proofpoint-GUID: vRy4Pc6PaSCKDfM1KEWteNb6gB_BovI1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-23_16,2024-08-23_01,2024-05-17_01 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, 20 Dec 2024 11:44:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/208979 Also check that 'tools-debug' is not set in IMAGE_FEATURES to determine if gdbserver is missing. Signed-off-by: Georgi, Tom --- scripts/lib/devtool/ide_sdk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index 2f6eddec2a..7b1cb67bbb 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -167,7 +167,7 @@ class RecipeImage: self.__rootfs_dbg = os.path.join(workdir, 'rootfs-dbg') self.gdbserver_missing = 'gdbserver' not in image_d.getVar( - 'IMAGE_INSTALL') + 'IMAGE_INSTALL') and 'tools-debug' not in image_d.getVar('IMAGE_FEATURES') @property def debug_support(self):