summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/qemu/qemu-git
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-10-17 09:51:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-18 12:03:29 +0100
commit945c8f5c687ec61c312209e075edc402f6272186 (patch)
treee9b69171cb827d6f1fa4718920be53a7661a4030 /meta/recipes-devtools/qemu/qemu-git
parent10d28438c1e7d793bc398a0ad484782e5baa4877 (diff)
downloadopenembedded-core-945c8f5c687ec61c312209e075edc402f6272186.tar.gz
openembedded-core-945c8f5c687ec61c312209e075edc402f6272186.tar.bz2
openembedded-core-945c8f5c687ec61c312209e075edc402f6272186.zip
qemu: don't ignore libexecdir in configure
This allow the relocation of libexecdir to be done correctly for the qemu-brigde-helper. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-git')
-rw-r--r--meta/recipes-devtools/qemu/qemu-git/remove-hardcoded-libexec.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-git/remove-hardcoded-libexec.patch b/meta/recipes-devtools/qemu/qemu-git/remove-hardcoded-libexec.patch
new file mode 100644
index 0000000000..83f5463aad
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-git/remove-hardcoded-libexec.patch
@@ -0,0 +1,41 @@
+This will allow the libexecdir to be set on the command line
+and have the files installed and used from the correct location
+
+Upstream-Status: Inappropriate [oe-core specific]
+
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
+Index: qemu-1.2.0/configure
+===================================================================
+--- qemu-1.2.0.orig/configure
++++ qemu-1.2.0/configure
+@@ -183,6 +183,7 @@ datadir="\${prefix}/share"
+ qemu_docdir="\${prefix}/share/doc/qemu"
+ bindir="\${prefix}/bin"
+ libdir="\${prefix}/lib"
++libexecdir="\${prefix}/libexec"
+ includedir="\${prefix}/include"
+ sysconfdir="\${prefix}/etc"
+ confsuffix="/qemu"
+@@ -644,7 +645,9 @@ for opt do
+ ;;
+ --sysconfdir=*) sysconfdir="$optarg"
+ ;;
+- --sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
++ --libexecdir=*) libexecdir="$optarg"
++ ;;
++ --sbindir=*|--sharedstatedir=*|--localstatedir=*|\
+ --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
+ --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
+ # These switches are silently ignored, for compatibility with
+@@ -3190,8 +3193,8 @@ echo "sysconfdir=$sysconfdir" >> $config
+ echo "qemu_confdir=$qemu_confdir" >> $config_host_mak
+ echo "qemu_datadir=$qemu_datadir" >> $config_host_mak
+ echo "qemu_docdir=$qemu_docdir" >> $config_host_mak
+-echo "libexecdir=\${prefix}/libexec" >> $config_host_mak
+-echo "CONFIG_QEMU_HELPERDIR=\"$prefix/libexec\"" >> $config_host_mak
++echo "libexecdir=$libexecdir" >> $config_host_mak
++echo "CONFIG_QEMU_HELPERDIR=$libexecdir" >> $config_host_mak
+
+ echo "ARCH=$ARCH" >> $config_host_mak
+ if test "$debug_tcg" = "yes" ; then