Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,16 @@
SUMMARY = "Produce a broken la file"
LICENSE = "CLOSED"
INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_WORLD = "1"
# remove-libtool.bbclass is inherited by default and removes all
# .la files which for this test we specifically do not want.
REMOVE_LIBTOOL_LA = "0"
do_install() {
install -d ${D}${libdir}/test/
echo '${WORKDIR}' > ${D}${libdir}/test/la-test.la
}
BBCLASSEXTEND += "native"
@@ -0,0 +1,12 @@
SUMMARY = "Produce a broken pc file"
LICENSE = "CLOSED"
INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_WORLD = "1"
do_install() {
install -d ${D}${libdir}/test/
echo '${WORKDIR}' > ${D}${libdir}/test/test.pc
}
BBCLASSEXTEND += "native"
@@ -0,0 +1,12 @@
SUMMARY = "Check that shebang does not exceed 128 characters"
LICENSE = "CLOSED"
INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_WORLD = "1"
do_install() {
install -d ${D}${bindir}
echo '#!BiM3cnVd1Amtv6PG+FynrQiVMbZnX5ELgF21q3EkuB+44JEGWtq8TvBJ7EGidfVs3eR3wVOUbLnjYDlKUWcm7YC/ute7f+KDHbwxziRUSUBZAUqgjiQdfQ0HnxajI0ozbM863E9JV9k13yZKYfh9/zR77Y6Dl4Dd3zOWS75LSpkAXV' > ${D}${bindir}/max-shebang
chmod 755 ${D}${bindir}/max-shebang
}
BBCLASSEXTEND = "native"
@@ -0,0 +1,14 @@
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"
@@ -0,0 +1,14 @@
LICENSE = "CLOSED"
PROVIDES = "virtual/sysroot-test"
INHIBIT_DEFAULT_DEPS = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
TESTSTRING ?= "2"
do_install() {
install -d ${D}${includedir}
echo "# test ${TESTSTRING}" > ${D}${includedir}/sysroot-test.h
}
EXCLUDE_FROM_WORLD = "1"
@@ -0,0 +1,6 @@
SUMMARY = "Virtual provider sysroot test"
LICENSE = "CLOSED"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "virtual/sysroot-test"
EXCLUDE_FROM_WORLD = "1"