]> code.ossystems Code Review - openembedded-core.git/commitdiff
libsdl: Move PACKAGECONFIG options from meta-mingw
authorMark Hatle <mark.hatle@windriver.com>
Mon, 28 Aug 2017 20:29:31 +0000 (15:29 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Aug 2017 11:08:24 +0000 (12:08 +0100)
There is no way to make PACKAGECONFIG options sdkmachine specific using
overrides.  This causes potential failures when running the Yocto Project
compatible script.  Moving these to the OpenEmbedded Core recipe will
ensure that the options are always applied evenly and avoid any potential
problems with the compatible script.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb

index b0d70a656b699b59c5b3be6d2384880fbfc9a5db..3680ea9d80d8f2a5c9a2fe710751bdd06b0a0352 100644 (file)
@@ -54,6 +54,10 @@ PACKAGECONFIG[directfb] = "--enable-video-directfb, --disable-video-directfb, di
 PACKAGECONFIG[opengl] = "--enable-video-opengl, --disable-video-opengl, virtual/libgl libglu"
 PACKAGECONFIG[x11] = "--enable-video-x11 --disable-x11-shared, --disable-video-x11, virtual/libx11 libxext libxrandr libxrender"
 
+# The following two options should only enabled with mingw support
+PACKAGECONFIG[stdio-redirect] = "--enable-stdio-redirect,--disable-stdio-redirect"
+PACKAGECONFIG[directx] = "--enable-directx,--disable-directx"
+
 EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
 
 do_configure_prepend() {