Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qemu: remove host-python dependency.
@ 2019-02-04 12:43 aduskett at gmail.com
  2019-02-04 13:03 ` Thomas Petazzoni
  2019-02-04 13:15 ` Matthew Weber
  0 siblings, 2 replies; 3+ messages in thread
From: aduskett at gmail.com @ 2019-02-04 12:43 UTC (permalink / raw)
  To: buildroot

From: Adam Duskett <Aduskett@gmail.com>

Now that BuildRoot requires python >= 2.7, qemu no longer needs a host-python,
as it does not use any external Python modules to build.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/qemu/qemu.mk | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 3f51e88e1c..30cd5972ef 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -16,7 +16,7 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB
 #-------------------------------------------------------------
 # Target-qemu
 
-QEMU_DEPENDENCIES = host-pkgconf host-python libglib2 zlib pixman
+QEMU_DEPENDENCIES = host-pkgconf libglib2 zlib pixman
 
 # Need the LIBS variable because librt and libm are
 # not automatically pulled. :-(
@@ -24,9 +24,7 @@ QEMU_LIBS = -lrt -lm
 
 QEMU_OPTS =
 
-QEMU_VARS = \
-	LIBTOOL=$(HOST_DIR)/bin/libtool \
-	PYTHON=$(HOST_DIR)/bin/python2
+QEMU_VARS = LIBTOOL=$(HOST_DIR)/bin/libtool
 
 # If we want to specify only a subset of targets, we must still enable all
 # of them, so that QEMU properly builds its list of default targets, from
@@ -156,7 +154,7 @@ $(eval $(generic-package))
 #-------------------------------------------------------------
 # Host-qemu
 
-HOST_QEMU_DEPENDENCIES = host-pkgconf host-python host-zlib host-libglib2 host-pixman
+HOST_QEMU_DEPENDENCIES = host-pkgconf host-zlib host-libglib2 host-pixman
 
 #       BR ARCH         qemu
 #       -------         ----
@@ -273,7 +271,6 @@ define HOST_QEMU_CONFIGURE_CMDS
 		--interp-prefix=$(STAGING_DIR) \
 		--cc="$(HOSTCC)" \
 		--host-cc="$(HOSTCC)" \
-		--python=$(HOST_DIR)/bin/python2 \
 		--extra-cflags="$(HOST_CFLAGS)" \
 		--extra-ldflags="$(HOST_LDFLAGS)" \
 		$(HOST_QEMU_OPTS)
-- 
2.20.1

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

* [Buildroot] [PATCH] qemu: remove host-python dependency.
  2019-02-04 12:43 [Buildroot] [PATCH] qemu: remove host-python dependency aduskett at gmail.com
@ 2019-02-04 13:03 ` Thomas Petazzoni
  2019-02-04 13:15 ` Matthew Weber
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-02-04 13:03 UTC (permalink / raw)
  To: buildroot

Hello,

Please use a prefix of "package/qemu:".

On Mon,  4 Feb 2019 07:43:23 -0500
aduskett at gmail.com wrote:

> Now that BuildRoot requires python >= 2.7, qemu no longer needs a host-python,

We never use BuildRoot, but either Buildroot or buildroot. Preferably
Buildroot in such situations.

Applied with those two minor details fixed. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] qemu: remove host-python dependency.
  2019-02-04 12:43 [Buildroot] [PATCH] qemu: remove host-python dependency aduskett at gmail.com
  2019-02-04 13:03 ` Thomas Petazzoni
@ 2019-02-04 13:15 ` Matthew Weber
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Weber @ 2019-02-04 13:15 UTC (permalink / raw)
  To: buildroot

Adam,

On Mon, Feb 4, 2019 at 6:43 AM <aduskett@gmail.com> wrote:
>
> From: Adam Duskett <Aduskett@gmail.com>
>
> Now that BuildRoot requires python >= 2.7, qemu no longer needs a host-python,
> as it does not use any external Python modules to build.
>
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>


Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>

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

end of thread, other threads:[~2019-02-04 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04 12:43 [Buildroot] [PATCH] qemu: remove host-python dependency aduskett at gmail.com
2019-02-04 13:03 ` Thomas Petazzoni
2019-02-04 13:15 ` Matthew Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox