Skip to contentSkip to conversation

ion-tests: move back to meta-arago-extras

PATCH New Denys Dmytriyenko 1 participant 1 message Feb 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ion-tests: move back to meta-arago-extras

From: Denys Dmytriyenko <[email protected]>

As it happens, ion-tests requires gtest from by meta-oe, but meta-ti has no dependency on meta-oe. Unfortunately this was overlooked when all ion recipes were migrated to meta-ti. Fix this by moving just ion-tests back.

---
 ...-CMakeLists.txt-disable-phys-addr-for-now.patch | 34 +++++++++++
 ...eplace-PAGE_SIZE-with-local-variable-name.patch | 69 ++++++++++++++++++++++
 .../recipes-devtools/ion/ion-tests_git.bb          | 19 ++++++
 3 files changed, 122 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch
 create mode 100644 meta-arago-extras/recipes-devtools/ion/ion-tests/0001-map_test-Replace-PAGE_SIZE-with-local-variable-name.patch
 create mode 100644 meta-arago-extras/recipes-devtools/ion/ion-tests_git.bb
meta-arago-extras/recipes-devtools/ion/ion-tests/0001-CMakeLists.txt-disable-phys-addr-for-now.patch new file +34 -0
new file mode 100644
index 0000000..7cf5895
@@ -0,0 +1,34 @@
+From 85264fc72a261d20107a50ea2fad0258900a132b Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <[email protected]>
+Date: Sat, 20 Apr 2019 16:54:03 +0000
+Subject: [PATCH] CMakeLists.txt: disable phys-addr for now
+
+Signed-off-by: Denys Dmytriyenko <[email protected]>
+---
+ CMakeLists.txt | 13 -------------
+ 1 file changed, 13 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1d60003..eca6ba7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -54,16 +54,3 @@ target_link_libraries(ion-print-heaps
+ target_include_directories(ion-print-heaps PUBLIC ${LIBION_INCLUDE_DIRS})
+ 
+ install(TARGETS ion-print-heaps RUNTIME DESTINATION bin)
+-
+-# phys-addr
+-
+-add_executable(phys-addr
+-	src/phys-addr.c
+-)
+-
+-target_link_libraries(phys-addr
+-	${LIBION_LIBRARIES}
+-)
+-target_include_directories(phys-addr PUBLIC ${LIBION_INCLUDE_DIRS})
+-
+-install(TARGETS phys-addr RUNTIME DESTINATION bin)
+-- 
+2.17.1
+
meta-arago-extras/recipes-devtools/ion/ion-tests/0001-map_test-Replace-PAGE_SIZE-with-local-variable-name.patch new file +69 -0

69 lines not on this page · raw message

meta-arago-extras/recipes-devtools/ion/ion-tests_git.bb new file +19 -0
new file mode 100644
index 0000000..52346f1
@@ -0,0 +1,19 @@
+SUMMARY = "Test cases for ION"
+HOMEPAGE = "https://github.com/glneo/ion-tests"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/ion_test.c;beginline=1;endline=15;md5=b225db900869a4cd31461606e55a3ec5"
+
+PV = "1.0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glneo/ion-tests.git;protocol=git;branch=${BRANCH} \
+	file://0001-CMakeLists.txt-disable-phys-addr-for-now.patch \
+	file://0001-map_test-Replace-PAGE_SIZE-with-local-variable-name.patch \
+"
+SRCREV = "70d730cebca29e6fd37b21d9beac82ae645f3900"
+
+DEPENDS = "libion gtest"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
Signature · 1 line
2.7.4