Message ID | 20250919191849.2622310-2-a-christidis@ti.com |
---|---|
State | Under Review |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Add libsdl2 test support | expand |
diff --git a/meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc b/meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc new file mode 100644 index 00000000..f33ff909 --- /dev/null +++ b/meta-arago-test/recipes-graphics/libsdl2/libsdl2-ti.inc @@ -0,0 +1,6 @@ +EXTRA_OECMAKE:append = " -DSDL_TESTS=ON \ + -DSDL_INSTALL_TESTS=ON \ + " +PACKAGE_BEFORE_PN = "${PN}-tests" +FILES:${PN}-tests += "${libexecdir} ${datadir}/installed-tests/SDL2" +FILES:${PN}-tests:class-nativesdk += "${libexecdir} ${datadir}/installed-tests/SDL2" diff --git a/meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend b/meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend new file mode 100644 index 00000000..385aa801 --- /dev/null +++ b/meta-arago-test/recipes-graphics/libsdl2/libsdl2_%.bbappend @@ -0,0 +1,4 @@ +LIBSDL2_TI = "" +LIBSDL2_TI:ti-soc = "libsdl2-ti.inc" + +require ${LIBSDL2_TI}