Skip to contentSkip to conversation

Pull request for branch yem-host-qemu-fixes

GIT PULL New Yann E. MORIN 2 participants 4 messages Dec 16, 2012

lore
Share & tools
lore
#0 lore raw

Hello All!

The following changes since commit 3ceffe9659ae4a98a4127812126379a263ab991e:

dnsmasq: bump to version 2.65 (2012-12-16 14:30:40 +0100)

are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem-host-qemu-fixes

Yann E. MORIN (2):
package/qemu: bump version to 1.2.2 package/qemu: use autotools-package infrastructure

 package/qemu/qemu.mk |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

Regards,
Yann E. MORIN

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw

PATCH 1/2 package/qemu: bump version to 1.2.2

There are a bunch of important fixes since 1.2.1.

---
 package/qemu/qemu.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/qemu/qemu.mk +1 -1
index 8d07807..315886f 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-QEMU_VERSION = 1.2.1
+QEMU_VERSION = 1.2.2
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2
 QEMU_SITE = http://wiki.qemu.org/download
 QEMU_LICENSE = GPLv2 LGPLv2.1 MIT BSD-3c BSD-2c Others/BSD-1c
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 2/2 package/qemu: use autotools-package infrastructure

In reply to Yann E. MORIN

Turns out that, with a little bit of tweaking, we can use the autotools-package infrastructure to build QEMU.

That's better than defining all the _CMDS and using the generic-package infra.

---
 package/qemu/qemu.mk |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)
package/qemu/qemu.mk +4 -13
index 315886f..bd42481 100644
@@ -62,6 +62,9 @@ ifeq ($(HOST_QEMU_ARCH),powerpc)
 endif
 HOST_QEMU_TARGETS=$(HOST_QEMU_ARCH)-linux-user
 
+# Note: although QEMU has a ./configure script, it is not a real autotools
+# package, and ./configure chokes on options such as --host or --target.
+# So, provide out own _CONFIGURE_CMDS to override the defaults.
 define HOST_QEMU_CONFIGURE_CMDS
 	(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure   \
 		--target-list="$(HOST_QEMU_TARGETS)"    \
@@ -74,19 +77,7 @@ define HOST_QEMU_CONFIGURE_CMDS
 	)
 endef
 
-define HOST_QEMU_BUILD_CMDS
-	$(MAKE) -C $(@D) all
-endef
-
-define HOST_QEMU_INSTALL_CMDS
-	$(MAKE) -C $(@D) install
-endef
-
-define HOST_QEMU_CLEAN_CMDS
-	$(MAKE) -C $(@D) clean
-endef
-
-$(eval $(host-generic-package))
+$(eval $(host-autotools-package))
 
 # variable used by other packages
 QEMU_USER = $(HOST_DIR)/usr/bin/qemu-$(HOST_QEMU_ARCH)
Signature · 1 line
1.7.2.5
#3 lore raw
In reply to Yann E. MORIN
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> Hello All!
Yann> The following changes since commit 3ceffe9659ae4a98a4127812126379a263ab991e:

Yann> dnsmasq: bump to version 2.65 (2012-12-16 14:30:40 +0100)

Yann> are available in the git repository at:
Yann> git://gitorious.org/buildroot/buildroot.git yem-host-qemu-fixes

Yann> Yann E. MORIN (2):
Yann> package/qemu: bump version to 1.2.2
Yann> package/qemu: use autotools-package infrastructure

Committed both, thanks.

Signature · 1 line
Bye, Peter Korsgaard