* [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes
@ 2012-12-13 21:39 Yann E. MORIN
0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2012-12-13 21:39 UTC (permalink / raw)
To: buildroot
Hello All!
This short series is an extract from my larger qemu-related series.
I did split it up to ease review and integration.
The following changes since commit e043dd6c99a801dc7f863986c78c947e25c75b3f:
barebox: bump to version 2012.12.1 (2012-12-13 09:37:10 +0100)
are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem-host-qemu-fixes
Yann E. MORIN (4):
package/qemu: fix host-qemu variable names
package/qemu: fix host dependencies
package/qemu: use autotools-package infrastructure
package/qemu: bump version
package/qemu/qemu.mk | 44 +++++++++++++++++++-------------------------
1 files changed, 19 insertions(+), 25 deletions(-)
Regards,
Yann E. MORIN
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes
@ 2012-12-16 16:52 Yann E. MORIN
2012-12-16 16:52 ` [Buildroot] [PATCH 1/2] package/qemu: bump version to 1.2.2 Yann E. MORIN
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Yann E. MORIN @ 2012-12-16 16:52 UTC (permalink / raw)
To: buildroot
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
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/qemu: bump version to 1.2.2
2012-12-16 16:52 [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes Yann E. MORIN
@ 2012-12-16 16:52 ` Yann E. MORIN
2012-12-16 16:52 ` [Buildroot] [PATCH 2/2] package/qemu: use autotools-package infrastructure Yann E. MORIN
2012-12-16 19:13 ` [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2012-12-16 16:52 UTC (permalink / raw)
To: buildroot
There are a bunch of important fixes since 1.2.1.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/qemu/qemu.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 8d07807..315886f 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -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
--
1.7.2.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/qemu: use autotools-package infrastructure
2012-12-16 16:52 [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes Yann E. MORIN
2012-12-16 16:52 ` [Buildroot] [PATCH 1/2] package/qemu: bump version to 1.2.2 Yann E. MORIN
@ 2012-12-16 16:52 ` Yann E. MORIN
2012-12-16 19:13 ` [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2012-12-16 16:52 UTC (permalink / raw)
To: buildroot
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.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Francois Perrad <fperrad@gmail.com>
---
package/qemu/qemu.mk | 17 ++++-------------
1 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 315886f..bd42481 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -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)
--
1.7.2.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes
2012-12-16 16:52 [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes Yann E. MORIN
2012-12-16 16:52 ` [Buildroot] [PATCH 1/2] package/qemu: bump version to 1.2.2 Yann E. MORIN
2012-12-16 16:52 ` [Buildroot] [PATCH 2/2] package/qemu: use autotools-package infrastructure Yann E. MORIN
@ 2012-12-16 19:13 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2012-12-16 19:13 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> 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.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-12-16 19:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-16 16:52 [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes Yann E. MORIN
2012-12-16 16:52 ` [Buildroot] [PATCH 1/2] package/qemu: bump version to 1.2.2 Yann E. MORIN
2012-12-16 16:52 ` [Buildroot] [PATCH 2/2] package/qemu: use autotools-package infrastructure Yann E. MORIN
2012-12-16 19:13 ` [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2012-12-13 21:39 Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox