Bump buildroot to 2019.02
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QEMU_VERSION = 2.12.1
|
||||
QEMU_VERSION = 3.1.0
|
||||
QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
|
||||
QEMU_SITE = http://download.qemu.org
|
||||
QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c
|
||||
@@ -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,10 +24,7 @@ QEMU_LIBS = -lrt -lm
|
||||
|
||||
QEMU_OPTS =
|
||||
|
||||
QEMU_VARS = \
|
||||
LIBTOOL=$(HOST_DIR)/bin/libtool \
|
||||
PYTHON=$(HOST_DIR)/bin/python2 \
|
||||
PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
|
||||
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
|
||||
@@ -55,10 +52,15 @@ endif
|
||||
|
||||
endif
|
||||
|
||||
# There is no "--enable-slirp"
|
||||
ifeq ($(BR2_PACKAGE_QEMU_SLIRP),)
|
||||
QEMU_OPTS += --disable-slirp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QEMU_SDL),y)
|
||||
QEMU_OPTS += --enable-sdl
|
||||
QEMU_DEPENDENCIES += sdl
|
||||
QEMU_VARS += SDL_CONFIG=$(BR2_STAGING_DIR)/usr/bin/sdl-config
|
||||
QEMU_DEPENDENCIES += sdl2
|
||||
QEMU_VARS += SDL2_CONFIG=$(BR2_STAGING_DIR)/usr/bin/sdl2-config
|
||||
else
|
||||
QEMU_OPTS += --disable-sdl
|
||||
endif
|
||||
@@ -76,6 +78,13 @@ else
|
||||
QEMU_OPTS += --disable-tools
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
QEMU_OPTS += --enable-seccomp
|
||||
QEMU_DEPENDENCIES += libseccomp
|
||||
else
|
||||
QEMU_OPTS += --disable-seccomp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
|
||||
QEMU_OPTS += --enable-libssh2
|
||||
QEMU_DEPENDENCIES += libssh2
|
||||
@@ -101,7 +110,6 @@ define QEMU_CONFIGURE_CMDS
|
||||
--enable-vhost-net \
|
||||
--disable-bsd-user \
|
||||
--disable-xen \
|
||||
--disable-slirp \
|
||||
--disable-vnc \
|
||||
--disable-virtfs \
|
||||
--disable-brlapi \
|
||||
@@ -117,7 +125,6 @@ define QEMU_CONFIGURE_CMDS
|
||||
--disable-libiscsi \
|
||||
--disable-usb-redir \
|
||||
--disable-strip \
|
||||
--disable-seccomp \
|
||||
--disable-sparse \
|
||||
--disable-mpath \
|
||||
--disable-sanitizers \
|
||||
@@ -147,13 +154,12 @@ $(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
|
||||
# ------- ----
|
||||
# arm arm
|
||||
# armeb armeb
|
||||
# bfin not supported
|
||||
# i486 i386
|
||||
# i586 i386
|
||||
# i686 i386
|
||||
@@ -251,6 +257,10 @@ HOST_QEMU_OPTS += --enable-vde
|
||||
HOST_QEMU_DEPENDENCIES += host-vde2
|
||||
endif
|
||||
|
||||
ifdef ($(BR2_PACKAGE_HOST_QEMU_VIRTFS),y)
|
||||
HOST_QEMU_OPTS += --enable-virtfs
|
||||
endif
|
||||
|
||||
# Override CPP, as it expects to be able to call it like it'd
|
||||
# call the compiler.
|
||||
define HOST_QEMU_CONFIGURE_CMDS
|
||||
@@ -261,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)
|
||||
|
||||
Reference in New Issue
Block a user