mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

sysroot-test depends on virtual/sysroot-test which we build for one machine, switch machine, switch provider of virtual/sysroot-test and check that the sysroot is correctly cleaned up. The files in the two providers overlap so can cause errors if the sysroot code doesn't function correctly. Yes, sysroot-test should be machine specific really to avoid this, however the sysroot cleanup should also work. This adds a test for bug: [YOCTO #13702] (From OE-Core rev: 24ca62b3c1fd404b67d549b29aeeacf913e6dc86) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
271 B
BlitzBasic
15 lines
271 B
BlitzBasic
LICENSE = "CLOSED"
|
|
|
|
PROVIDES = "virtual/sysroot-test"
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
TESTSTRING ?= "1"
|
|
|
|
do_install() {
|
|
install -d ${D}${includedir}
|
|
echo "# test ${TESTSTRING}" > ${D}${includedir}/sysroot-test.h
|
|
}
|
|
|
|
EXCLUDE_FROM_WORLD = "1"
|