]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
qemu/local.conf.sample: Add sdl PACKAGECONFIG
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Dec 2013 16:30:29 +0000 (16:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Dec 2013 16:46:33 +0000 (16:46 +0000)
Currently the SDL configuration option for qemu floats. This is confusing to new users
and makes the build non-determinstic. This patch adds a PACKAGECONFIG option, defaulting
to off and adds documentation to local.conf.sample leaving it on by default since this
is the configuration our quick start assumes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto/conf/local.conf.sample

index a9f03b1b0f4fcb77e3247953147196ba47531487..b26a59af046cb259d1aa81ec490792da28b6b88a 100644 (file)
@@ -229,6 +229,17 @@ BB_DISKMON_DIRS = "\
 #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
 #file://.* file:///some/local/dir/sstate/PATH"
 
+
+#
+# Qemu configuration
+#
+# By default qemu will build with a builtin VNC server where graphical output can be
+# seen. The two lines below enable the SDL backend too. This assumes there is a
+# libsdl library available on your build system.
+PACKAGECONFIG_pn-qemu-native = "sdl"
+ASSUME_PROVIDED += "libsdl-native"
+
+
 # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
 # track the version of this file when it was generated. This can safely be ignored if
 # this doesn't mean anything to you.