@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2020
+# Copyright (c) Siemens AG, 2022
#
# Authors:
# Quirin Gylstorff <quirin.gylstorff@siemens.com>
@@ -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
-}
new file mode 100644
@@ -0,0 +1,25 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2022
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# 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
+}
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 <Vijaikumar_Kanagarajan@mentor.com> --- 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