All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1
@ 2015-04-23  9:50 Markos Chandras
  2015-04-23  9:50 ` [Buildroot] [PATCH 2/2] QEMU: Enable package for MIPS targets Markos Chandras
  2015-04-23 15:43 ` [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1 Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Markos Chandras @ 2015-04-23  9:50 UTC (permalink / raw)
  To: buildroot

Bump QEMU to 2.2.1

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 package/qemu/qemu.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 1202df77c5e4..b73127b24748 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-QEMU_VERSION = 2.1.2
+QEMU_VERSION = 2.2.1
 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
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] QEMU: Enable package for MIPS targets
  2015-04-23  9:50 [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1 Markos Chandras
@ 2015-04-23  9:50 ` Markos Chandras
  2015-04-25  8:18   ` Thomas Petazzoni
  2015-04-23 15:43 ` [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1 Thomas Petazzoni
  1 sibling, 1 reply; 5+ messages in thread
From: Markos Chandras @ 2015-04-23  9:50 UTC (permalink / raw)
  To: buildroot

Allow QEMU to be installed on MIPS targets. Also introduce a new
symbol (BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET) to hold the
architectures than can build and use QEMU on the target.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 package/qemu/Config.in | 9 +++++++--
 package/qemu/qemu.mk   | 4 ++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index fff786d3f11f..f537ce67181c 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -1,11 +1,16 @@
+config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
+	bool
+	# Only tested in these architectures
+	default y if BR2_i386 || BR2_mips || BR2_mipsel || BR2_x86_64
+
 comment "QEMU requires a toolchain with wchar, threads"
-	depends on BR2_i386 || BR2_x86_64
+	depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
 	depends on BR2_USE_MMU
 	depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR)
 
 config BR2_PACKAGE_QEMU
 	bool "QEMU"
-	depends on BR2_i386 || BR2_x86_64
+	depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_WCHAR # gettext
 	depends on BR2_USE_MMU # fork()
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b73127b24748..decfc259d2e3 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -32,8 +32,8 @@ HOST_QEMU_DEPENDENCIES = host-pkgconf host-python host-zlib host-libglib2 host-p
 #       microblaze      microblaze
 #       mips            mips
 #       mipsel          mipsel
-#       mips64          ?
-#       mips64el        ?
+#       mips64          mips64
+#       mips64el        mips64el
 #       powerpc         ppc
 #       sh2a            not supported
 #       sh4             sh4
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1
  2015-04-23  9:50 [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1 Markos Chandras
  2015-04-23  9:50 ` [Buildroot] [PATCH 2/2] QEMU: Enable package for MIPS targets Markos Chandras
@ 2015-04-23 15:43 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2015-04-23 15:43 UTC (permalink / raw)
  To: buildroot

Dear Markos Chandras,

On Thu, 23 Apr 2015 10:50:56 +0100, Markos Chandras wrote:
> Bump QEMU to 2.2.1
> 
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> ---
>  package/qemu/qemu.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] QEMU: Enable package for MIPS targets
  2015-04-23  9:50 ` [Buildroot] [PATCH 2/2] QEMU: Enable package for MIPS targets Markos Chandras
@ 2015-04-25  8:18   ` Thomas Petazzoni
  2015-04-27  7:50     ` Markos Chandras
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2015-04-25  8:18 UTC (permalink / raw)
  To: buildroot

Dear Markos Chandras,

On Thu, 23 Apr 2015 10:50:57 +0100, Markos Chandras wrote:

> diff --git a/package/qemu/Config.in b/package/qemu/Config.in
> index fff786d3f11f..f537ce67181c 100644
> --- a/package/qemu/Config.in
> +++ b/package/qemu/Config.in
> @@ -1,11 +1,16 @@
> +config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
> +	bool
> +	# Only tested in these architectures
> +	default y if BR2_i386 || BR2_mips || BR2_mipsel || BR2_x86_64

So not on mips64/mips64el...

> -#       mips64          ?
> -#       mips64el        ?
> +#       mips64          mips64
> +#       mips64el        mips64el

but you update the mips64* information, which would probably indicate
that it works, no?

Anyway, I've applied the patch as is, feel free to send a follow-up
patch adding mips64* as well if that works.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] QEMU: Enable package for MIPS targets
  2015-04-25  8:18   ` Thomas Petazzoni
@ 2015-04-27  7:50     ` Markos Chandras
  0 siblings, 0 replies; 5+ messages in thread
From: Markos Chandras @ 2015-04-27  7:50 UTC (permalink / raw)
  To: buildroot

On 04/25/2015 09:18 AM, Thomas Petazzoni wrote:
> Dear Markos Chandras,
> 
> On Thu, 23 Apr 2015 10:50:57 +0100, Markos Chandras wrote:
> 
>> diff --git a/package/qemu/Config.in b/package/qemu/Config.in
>> index fff786d3f11f..f537ce67181c 100644
>> --- a/package/qemu/Config.in
>> +++ b/package/qemu/Config.in
>> @@ -1,11 +1,16 @@
>> +config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
>> +	bool
>> +	# Only tested in these architectures
>> +	default y if BR2_i386 || BR2_mips || BR2_mipsel || BR2_x86_64
> 
> So not on mips64/mips64el...

No because it does not seem to (cross-)build for mips64.

> 
>> -#       mips64          ?
>> -#       mips64el        ?
>> +#       mips64          mips64
>> +#       mips64el        mips64el
> 
> but you update the mips64* information, which would probably indicate
> that it works, no?

I was not sure what that list is for. I just added the missing targets
there. You can still get a mips64(el) targets on a mips host though.

> 
> Anyway, I've applied the patch as is, feel free to send a follow-up
> patch adding mips64* as well if that works.

Yes we will eventually fix the build problems upstream. Thanks!

-- 
markos

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-27  7:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-23  9:50 [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1 Markos Chandras
2015-04-23  9:50 ` [Buildroot] [PATCH 2/2] QEMU: Enable package for MIPS targets Markos Chandras
2015-04-25  8:18   ` Thomas Petazzoni
2015-04-27  7:50     ` Markos Chandras
2015-04-23 15:43 ` [Buildroot] [PATCH 1/2] QEMU: bump to 2.2.1 Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.