summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-08-28 15:29:31 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-29 12:08:24 +0100
commit2454019844c762613a2c78ed7f7f2d30960c0bfd (patch)
tree4bfb6e9be6dba5e00cfba76b03532e725db886b2 /meta/recipes-graphics
parent7f10c5118793da6ded59ae6e60e796152dbd7ca3 (diff)
downloadopenembedded-core-contrib-2454019844c762613a2c78ed7f7f2d30960c0bfd.tar.gz
openembedded-core-contrib-2454019844c762613a2c78ed7f7f2d30960c0bfd.tar.bz2
openembedded-core-contrib-2454019844c762613a2c78ed7f7f2d30960c0bfd.zip
libsdl: Move PACKAGECONFIG options from meta-mingw
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>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/libsdl/libsdl_1.2.15.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
index b0d70a656b..3680ea9d80 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -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() {