qemu: needs pkg-config
PATCH 1/3 qemu: needs pkg-config
Fixes
http://autobuild.buildroot.org/results/ccb7d6da503a81015275ff1e4ba9a564203932ec/build-end.log
Even though the build failure happens on host-qemu, adding host-pkgconf to QEMU_DEPENDENCIES seems like the right thing to do since that this dependency will also be needed for the target qemu once it gets included.
--- package/qemu/qemu.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/qemu/qemu.mk +3 -1
@@ -8,6 +8,8 @@ QEMU_VERSION = 1.2.0 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2 QEMU_SITE = http://wiki.qemu.org/download +QEMU_DEPENDENCIES = host-pkgconf + # BR ARCH qemu # ------- ---- # arm arm
@@ -53,7 +55,7 @@ endif HOST_QEMU_TARGETS=$(QEMU_ARCH)-linux-user define HOST_QEMU_CONFIGURE_CMDS - (cd $(@D); ./configure \ + (cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure \ --target-list="$(HOST_QEMU_TARGETS)" \ --prefix="$(HOST_DIR)/usr" \ --interp-prefix=$(STAGING_DIR) \
Signature · 1 line
1.7.9.5
PATCH 1/3 qemu: needs pkg-config
package/qemu/qemu.mk endif · line 61
Quoted 6 lines · Thomas Petazzoni
define
HOST_QEMU_CONFIGURE_CMDSpackage/qemu/qemu.mk +1
-1- (cd $(@D); ./configure \ + (cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure \ --target-list="$(HOST_QEMU_TARGETS)" \ --prefix="$(HOST_DIR)/usr" \ --interp-prefix=$(STAGING_DIR) \
I should have explained this change in the commit log: it is needed so that $(HOST_DIR)/usr/bin/ is in the PATH, which allows Qemu's configure script to find our pkg-config.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 2/3 qemu: needs zlib
In reply to Thomas PetazzoniBuild error message is:
Error: zlib check failed
Make sure to have the zlib libs and headers installed.
--- package/qemu/qemu.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/qemu/qemu.mk +1 -1
@@ -8,7 +8,7 @@ QEMU_VERSION = 1.2.0 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2 QEMU_SITE = http://wiki.qemu.org/download -QEMU_DEPENDENCIES = host-pkgconf +QEMU_DEPENDENCIES = host-pkgconf zlib # BR ARCH qemu # ------- ----
Signature · 1 line
1.7.9.5
PATCH 3/3 qemu: needs libglib2
In reply to Thomas PetazzoniBuild error message is:
glib-2.12 required to compile QEMU
--- package/qemu/qemu.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/qemu/qemu.mk +1 -1
@@ -8,7 +8,7 @@ QEMU_VERSION = 1.2.0 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2 QEMU_SITE = http://wiki.qemu.org/download -QEMU_DEPENDENCIES = host-pkgconf zlib +QEMU_DEPENDENCIES = host-pkgconf zlib libglib2 # BR ARCH qemu # ------- ----
Signature · 1 line
1.7.9.5
PATCH 1/3 qemu: needs pkg-config
In reply to Thomas PetazzoniQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Fixes
Thomas> http://autobuild.buildroot.org/results/ccb7d6da503a81015275ff1e4ba9a564203932ec/build-end.log
Committed all 3, thanks.
Signature · 1 line
Bye, Peter Korsgaard