All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/qemu: Compare host/target Linux version only during build phase
@ 2015-05-21  8:47 Bernd Kuhls
  2015-05-21 20:56 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2015-05-21  8:47 UTC (permalink / raw)
  To: buildroot

This patch fixes an error during source-check.

Thanks to Thomas for the hint:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/116183

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/qemu/qemu.mk |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 04df79f..0620804 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -85,10 +85,12 @@ HOST_QEMU_COMPARE_VERSION = $(shell test $(HOST_QEMU_HOST_SYSTEM_VERSION) -ge $(
 # built with kernel headers that are older or the same as the kernel
 # version running on the host machine.
 #
+ifeq ($(BR_BUILDING),y)
 ifneq ($(HOST_QEMU_COMPARE_VERSION),OK)
 $(error "Refusing to build qemu-user: target Linux version newer than host's.")
 endif
 endif
+endif
 
 define HOST_QEMU_CONFIGURE_CMDS
 	cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure    \
-- 
1.7.10.4

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

* [Buildroot] [PATCH 1/1] package/qemu: Compare host/target Linux version only during build phase
  2015-05-21  8:47 [Buildroot] [PATCH 1/1] package/qemu: Compare host/target Linux version only during build phase Bernd Kuhls
@ 2015-05-21 20:56 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-05-21 20:56 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Thu, 21 May 2015 10:47:23 +0200, Bernd Kuhls wrote:
> This patch fixes an error during source-check.
> 
> Thanks to Thomas for the hint:
> http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/116183
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/qemu/qemu.mk |    2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

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

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

end of thread, other threads:[~2015-05-21 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-21  8:47 [Buildroot] [PATCH 1/1] package/qemu: Compare host/target Linux version only during build phase Bernd Kuhls
2015-05-21 20:56 ` 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.