diff options
authorPhong Tran <tranmanphong@gmail.com>2017-04-01 13:46:45 +0700
committerPhong Tran <tranmanphong@gmail.com>2017-04-01 14:07:23 +0700
commit377422b87bf209aa5b0a464d96189a16f95ac78d (patch)
parent6baf06d6f74f7a968e49ef6718bb8be6633ccb02 (diff)
local.conf.sample: fix QEMU native SDL
There is a fixing for building error of QEMU from poky This ports commit from poky here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=685daeb6e265ddbd28be0ef44dcc356727b99375 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2 files changed, 4 insertions, 25 deletions
diff --git a/README.ubuntu1604 b/README.ubuntu1604
deleted file mode 100644
index 17cabe3..0000000
--- a/README.ubuntu1604
+++ /dev/null
@@ -1,22 +0,0 @@
-if your build environment is ubuntu 16.06,
- you may encounter the following build problem:
-Log data follows:
-| DEBUG: Executing python function sysroot_cleansstate
-| DEBUG: Python function sysroot_cleansstate finished
-| DEBUG: Executing shell function autotools_preconfigure
-| DEBUG: Shell function autotools_preconfigure finished
-| DEBUG: Executing python function autotools_copy_aclocals
-| DEBUG: Python function autotools_copy_aclocals finished
-| DEBUG: Executing shell function do_configure
-| ERROR: User requested feature sdl
-| configure was not able to find it.
-| Install SDL devel
-then, you may pass with following workaround:
-add BUILD_LDFLAGS_prepend_pn-qemu-native = "-Wl,-rpath-link,/lib/x86_64-linux-gnu " to local.conf."
-(see https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-January/001492.html for more detail)
diff --git a/meta-ivi/conf/local.conf.sample b/meta-ivi/conf/local.conf.sample
index 1187cce..0926767 100644
--- a/meta-ivi/conf/local.conf.sample
+++ b/meta-ivi/conf/local.conf.sample
@@ -209,11 +209,12 @@ BB_DISKMON_DIRS = "\
# 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.
+# seen. The two lines below enable the SDL backend too. By default libsdl-native will
+# be built, if you want to use your host's libSDL instead of the minimal libsdl built
+# by libsdl-native then uncomment the ASSUME_PROVIDED line below.
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
-ASSUME_PROVIDED += "libsdl-native"
+#ASSUME_PROVIDED += "libsdl-native"
# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to