From patchwork Tue Jun 7 13:50:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 12871957 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 5E5D0C433EF for ; Tue, 7 Jun 2022 13:50:51 +0000 (UTC) Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by mx.groups.io with SMTP id smtpd.web12.12755.1654609849668491510 for ; Tue, 07 Jun 2022 06:50:50 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: mentor.com, ip: 68.232.137.180, mailfrom: vijaikumar_kanagarajan@mentor.com) X-IronPort-AV: E=Sophos;i="5.91,284,1647331200"; d="scan'208";a="76783571" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 07 Jun 2022 05:50:50 -0800 IronPort-SDR: zg5nLtZpA/E7HJiaRiUMWXocVTg5fxoMw5NNvpFvagnLpbUd6YG38mTmvSl0sTiXVVSOtILYvx xLI7Teg1xIttJyq7i8pvvZ7jqAmUUINtEZryNpqwUwr/AwUwM0wyGUFRLqYSWtAhp6XrNCLwIZ GaKqUoJyN/+EwOI6Z8jJVNa9DDst8xxIvLEhV7SPA4lvBEjSBXYIwt387O5IACny7sMvmb0ynp HEZaf4nJlKPV7m5BqejdzKk4l8dIvSR1Elqw+EqE8r5ayUEZBU0smqI2TKgJYzonUrJqvmP1qK WU4= From: Vijai Kumar K To: , , CC: Vijai Kumar K Subject: [isar-cip-core][PATCH 1/3] recipes-core/ltp: Update to the latest ltp version Date: Tue, 7 Jun 2022 19:20:14 +0530 Message-ID: <20220607135016.1856603-2-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220607135016.1856603-1-Vijaikumar_Kanagarajan@mentor.com> References: <20220607135016.1856603-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-15.mgc.mentorg.com (147.34.90.215) To svr-orw-mbx-12.mgc.mentorg.com (147.34.90.212) 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 ; Tue, 07 Jun 2022 13:50:51 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/8509 Update to the latest ltp version. The latest ltp version depends on pkg-config. Signed-off-by: Vijai Kumar K --- recipes-core/ltp/files/debian/control | 2 +- .../ltp/{ltp-full_20190930.bb => ltp-full_20220527.bb} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename recipes-core/ltp/{ltp-full_20190930.bb => ltp-full_20220527.bb} (67%) diff --git a/recipes-core/ltp/files/debian/control b/recipes-core/ltp/files/debian/control index 5ec4b9d..9caaf38 100644 --- a/recipes-core/ltp/files/debian/control +++ b/recipes-core/ltp/files/debian/control @@ -2,7 +2,7 @@ Source: ltp-full Section: embedded Priority: optional Maintainer: Gylstorff Quirin -Build-Depends: debhelper (>= 11), autotools-dev +Build-Depends: debhelper (>= 11), autotools-dev, pkg-config Standards-Version: 4.1.3 Homepage: https://linux-test-project.github.io/ diff --git a/recipes-core/ltp/ltp-full_20190930.bb b/recipes-core/ltp/ltp-full_20220527.bb similarity index 67% rename from recipes-core/ltp/ltp-full_20190930.bb rename to recipes-core/ltp/ltp-full_20220527.bb index fc35f5e..5b40df1 100644 --- a/recipes-core/ltp/ltp-full_20190930.bb +++ b/recipes-core/ltp/ltp-full_20220527.bb @@ -14,10 +14,10 @@ inherit dpkg DESCRIPTION = "Linux Test project for CIP" SRC_URI = " \ - https://github.com/linux-test-project/ltp/releases/download/20190930/ltp-full-${PV}.tar.xz \ + https://github.com/linux-test-project/ltp/releases/download/${PV}/ltp-full-${PV}.tar.xz \ file://debian \ " -SRC_URI[sha256sum] = "c7049590df2da3135030db5ef4c0076b76c789724a752b1102b4a01db0189f9a" +SRC_URI[sha256sum] = "d635afb5ec7b0de763ab50713baf9fbf65cf089da6e6768f816e4a166cbd17c4" do_prepare_build() { From patchwork Tue Jun 7 13:50:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 12871958 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 60547C43334 for ; Tue, 7 Jun 2022 13:51:01 +0000 (UTC) Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by mx.groups.io with SMTP id smtpd.web12.12755.1654609849668491510 for ; Tue, 07 Jun 2022 06:50:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: mentor.com, ip: 68.232.137.180, mailfrom: vijaikumar_kanagarajan@mentor.com) X-IronPort-AV: E=Sophos;i="5.91,284,1647331200"; d="scan'208";a="76783578" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 07 Jun 2022 05:50:53 -0800 IronPort-SDR: R5cVJcjq9nkmRwJzpO+dJMqA+XDF5RPfJlYYZDX9qgy35DmBS/i7Kvh7VkKFqrrQo1L1YefMZh XHLDN1jdXzMtQuI0DCMvzrq5LNSZFlXLfGv7YaTROynqg0jd70SFW2ZDjSvJpbqfiTsFja2UJi ZmlWee88kjgvH0Cx5lY5v4I0Jnfbfd9Ewg1XEwZ5g87AuWE2AH1GZEv3sSBsTolu7oi7rYmlUv fkncG2ac1CpqFAxLZIeKDrp3+LB9TtPnc/ZbDCKSCNa3yCtCFqVsqnQiPmmES2HLsE8mv8+DpL AIM= From: Vijai Kumar K To: , , CC: Vijai Kumar K Subject: [isar-cip-core][PATCH 2/3] recipes-core/ltp: refactor ltp recipe Date: Tue, 7 Jun 2022 19:20:15 +0530 Message-ID: <20220607135016.1856603-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220607135016.1856603-1-Vijaikumar_Kanagarajan@mentor.com> References: <20220607135016.1856603-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-15.mgc.mentorg.com (147.34.90.215) To svr-orw-mbx-12.mgc.mentorg.com (147.34.90.212) 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 ; Tue, 07 Jun 2022 13:51:01 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/8510 Add ltp.inc file so that downstream users can build their own ltp version using bits from isar-cip-core. Signed-off-by: Vijai Kumar K --- recipes-core/ltp/ltp-full_20220527.bb | 17 ++--------------- recipes-core/ltp/ltp.inc | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 15 deletions(-) create mode 100644 recipes-core/ltp/ltp.inc diff --git a/recipes-core/ltp/ltp-full_20220527.bb b/recipes-core/ltp/ltp-full_20220527.bb index 5b40df1..a99f301 100644 --- a/recipes-core/ltp/ltp-full_20220527.bb +++ b/recipes-core/ltp/ltp-full_20220527.bb @@ -1,7 +1,7 @@ # # CIP Core, generic profile # -# Copyright (c) Siemens AG, 2020 +# Copyright (c) Siemens AG, 2022 # # Authors: # Quirin Gylstorff @@ -9,19 +9,6 @@ # SPDX-License-Identifier: MIT # -inherit dpkg +require recipes-core/ltp/ltp.inc -DESCRIPTION = "Linux Test project for CIP" - -SRC_URI = " \ - https://github.com/linux-test-project/ltp/releases/download/${PV}/ltp-full-${PV}.tar.xz \ - file://debian \ - " SRC_URI[sha256sum] = "d635afb5ec7b0de763ab50713baf9fbf65cf089da6e6768f816e4a166cbd17c4" - - -do_prepare_build() { - cp -R ${WORKDIR}/debian ${S} - deb_create_compat - deb_add_changelog -} diff --git a/recipes-core/ltp/ltp.inc b/recipes-core/ltp/ltp.inc new file mode 100644 index 0000000..d3350cb --- /dev/null +++ b/recipes-core/ltp/ltp.inc @@ -0,0 +1,25 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Siemens AG, 2022 +# +# Authors: +# Quirin Gylstorff +# +# SPDX-License-Identifier: MIT +# + +inherit dpkg + +DESCRIPTION = "Linux Test project for CIP" + +SRC_URI = " \ + https://github.com/linux-test-project/ltp/releases/download/${PV}/ltp-full-${PV}.tar.xz \ + file://debian \ + " + +do_prepare_build() { + cp -R ${WORKDIR}/debian ${S} + deb_create_compat + deb_add_changelog +} From patchwork Tue Jun 7 13:50:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 12871959 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 61603CCA47C for ; Tue, 7 Jun 2022 13:51:01 +0000 (UTC) Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by mx.groups.io with SMTP id smtpd.web12.12755.1654609849668491510 for ; Tue, 07 Jun 2022 06:50:57 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: mentor.com, ip: 68.232.137.180, mailfrom: vijaikumar_kanagarajan@mentor.com) X-IronPort-AV: E=Sophos;i="5.91,284,1647331200"; d="scan'208";a="76783583" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 07 Jun 2022 05:50:57 -0800 IronPort-SDR: VzI13qJhEKDAn726A//n9gkBSG5Wx+2piLT/j5p5V6IyX23flfeFqWoUgatcVZnJsEO2k+B7Bx cHjefT9QAPAoP/ULioEgYsesFABEICE3qyQ5g4UBhi5ZF9M8o0yJ7tPb2L3OieZHYAheCHtZ7F Ylqfa3/mznv/5ng/SRocNuR0LaTkb8oq+p4IwEO9s/FyTwCVx2+CQonyY7RMAPmt96MSLmo2Vh AkSrVy6v4QdzO2M4cXRGEUZkGq0LpCftfetFy+Bkl+0Mv5RFO9tO2qk1+ls+RcqVcwWV8MuwoM 9Oo= From: Vijai Kumar K To: , , CC: Vijai Kumar K Subject: [isar-cip-core][PATCH 3/3] recipes-core/ltp: Disable autotest Date: Tue, 7 Jun 2022 19:20:16 +0530 Message-ID: <20220607135016.1856603-4-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220607135016.1856603-1-Vijaikumar_Kanagarajan@mentor.com> References: <20220607135016.1856603-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-15.mgc.mentorg.com (147.34.90.215) To svr-orw-mbx-12.mgc.mentorg.com (147.34.90.212) 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 ; Tue, 07 Jun 2022 13:51:01 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/8511 Fixes the following error during cross-build. Makefile:207: *** running tests on cross-compile build not supported. Stop. Signed-off-by: Vijai Kumar K --- recipes-core/ltp/files/debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/ltp/files/debian/rules b/recipes-core/ltp/files/debian/rules index a485615..06b9070 100755 --- a/recipes-core/ltp/files/debian/rules +++ b/recipes-core/ltp/files/debian/rules @@ -8,3 +8,5 @@ LTP_CONFIGURE_FLAGS = --prefix=/opt/ltp override_dh_auto_configure: dh_auto_configure -- $(LTP_CONFIGURE_FLAGS) + +override_dh_auto_test: