diff options
Diffstat (limited to 'meta-selftest')
3 files changed, 34 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb new file mode 100644 index 0000000000..36a682c53d --- /dev/null +++ b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | LICENSE = "CLOSED" | ||
2 | |||
3 | PROVIDES = "virtual/sysroot-test" | ||
4 | INHIBIT_DEFAULT_DEPS = "1" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | TESTSTRING ?= "1" | ||
8 | |||
9 | do_install() { | ||
10 | install -d ${D}${includedir} | ||
11 | echo "# test ${TESTSTRING}" > ${D}${includedir}/sysroot-test.h | ||
12 | } | ||
13 | |||
14 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb new file mode 100644 index 0000000000..67172f3cab --- /dev/null +++ b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | LICENSE = "CLOSED" | ||
2 | |||
3 | PROVIDES = "virtual/sysroot-test" | ||
4 | INHIBIT_DEFAULT_DEPS = "1" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | TESTSTRING ?= "2" | ||
8 | |||
9 | do_install() { | ||
10 | install -d ${D}${includedir} | ||
11 | echo "# test ${TESTSTRING}" > ${D}${includedir}/sysroot-test.h | ||
12 | } | ||
13 | |||
14 | EXCLUDE_FROM_WORLD = "1" | ||
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb new file mode 100644 index 0000000000..560487c159 --- /dev/null +++ b/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | SUMMARY = "Virtual provider sysroot test" | ||
2 | LICENSE = "CLOSED" | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | ||
4 | DEPENDS = "virtual/sysroot-test" | ||
5 | |||
6 | EXCLUDE_FROM_WORLD = "1" | ||