mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 18:53:13 +01:00
libsdl2: allow to build native and nativesdk
* enable x11 in native builds (From OE-Core rev: cff055403eab8112ef76cd6331682447bcddf760) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
865e34547a
commit
4e94199830
@@ -37,6 +37,8 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
|
||||
# and BSP layers to pick either (desktop) opengl, gles2, or no GL
|
||||
PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
|
||||
|
||||
PACKAGECONFIG_class-native = "x11"
|
||||
PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
|
||||
PACKAGECONFIG ??= " \
|
||||
${PACKAGECONFIG_GL} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \
|
||||
@@ -63,3 +65,5 @@ do_configure_prepend() {
|
||||
}
|
||||
|
||||
FILES_${PN}-dev += "${libdir}/cmake"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user