Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -2,7 +2,8 @@ config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
bool
|
||||
# Only tested on these architectures
|
||||
default y if BR2_aarch64 || BR2_i386 || BR2_mips || BR2_mipsel \
|
||||
|| BR2_x86_64 || BR2_arm
|
||||
|| BR2_x86_64 || BR2_arm \
|
||||
|| BR2_powerpc64 || BR2_powerpc64le
|
||||
|
||||
comment "QEMU requires a toolchain with wchar, threads"
|
||||
depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
@@ -69,11 +70,16 @@ comment "systems emulation needs a toolchain w/ dynamic library"
|
||||
|
||||
config BR2_PACKAGE_QEMU_LINUX_USER
|
||||
bool "Enable all Linux user-land emulation"
|
||||
# Incompatible "struct sigevent" definition on musl
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
help
|
||||
Say 'y' to build all Linux user-land emulators that QEMU supports.
|
||||
|
||||
# Note: bsd-user can not be build on Linux
|
||||
|
||||
comment "Linux user-land emulation needs a glibc or uClibc toolchain"
|
||||
depends on BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
endif # BR2_PACKAGE_QEMU_CUSTOM_TARGETS == ""
|
||||
|
||||
config BR2_PACKAGE_QEMU_HAS_EMULS
|
||||
@@ -106,4 +112,9 @@ comment "FDT support needs a toolchain w/ dynamic library"
|
||||
|
||||
endif # BR2_PACKAGE_QEMU_HAS_EMULS
|
||||
|
||||
config BR2_PACKAGE_QEMU_TOOLS
|
||||
bool "Enable tools"
|
||||
help
|
||||
Say 'y' here to include tools packaged with QEMU (e.g. qemu-img).
|
||||
|
||||
endif # BR2_PACKAGE_QEMU
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed, tarball verified with GPG signature
|
||||
sha256 c9ac4a651b273233d21b8bec32e30507cb9cce7900841febc330956a1a8434ec qemu-2.6.0.tar.bz2
|
||||
sha256 326e739506ba690daf69fc17bd3913a6c313d9928d743bd8eddb82f403f81e53 qemu-2.7.0.tar.bz2
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QEMU_VERSION = 2.6.0
|
||||
QEMU_VERSION = 2.7.0
|
||||
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
|
||||
@@ -34,6 +34,8 @@ HOST_QEMU_DEPENDENCIES = host-pkgconf host-python host-zlib host-libglib2 host-p
|
||||
# mips64 mips64
|
||||
# mips64el mips64el
|
||||
# powerpc ppc
|
||||
# powerpc64 ppc64
|
||||
# powerpc64le ppc64 (system) / ppc64le (usermode)
|
||||
# sh2a not supported
|
||||
# sh4 sh4
|
||||
# sh4eb sh4eb
|
||||
@@ -55,15 +57,23 @@ endif
|
||||
ifeq ($(HOST_QEMU_ARCH),powerpc)
|
||||
HOST_QEMU_ARCH = ppc
|
||||
endif
|
||||
ifeq ($(HOST_QEMU_ARCH),powerpc64)
|
||||
HOST_QEMU_ARCH = ppc64
|
||||
endif
|
||||
ifeq ($(HOST_QEMU_ARCH),powerpc64le)
|
||||
HOST_QEMU_ARCH = ppc64le
|
||||
HOST_QEMU_SYS_ARCH = ppc64
|
||||
endif
|
||||
ifeq ($(HOST_QEMU_ARCH),sh4a)
|
||||
HOST_QEMU_ARCH = sh4
|
||||
endif
|
||||
ifeq ($(HOST_QEMU_ARCH),sh4aeb)
|
||||
HOST_QEMU_ARCH = sh4eb
|
||||
endif
|
||||
HOST_QEMU_SYS_ARCH ?= $(HOST_QEMU_ARCH)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE),y)
|
||||
HOST_QEMU_TARGETS += $(HOST_QEMU_ARCH)-softmmu
|
||||
HOST_QEMU_TARGETS += $(HOST_QEMU_SYS_ARCH)-softmmu
|
||||
HOST_QEMU_OPTS += --enable-system --enable-fdt
|
||||
HOST_QEMU_DEPENDENCIES += host-dtc
|
||||
else
|
||||
@@ -110,16 +120,19 @@ HOST_QEMU_OPTS += --enable-vde
|
||||
HOST_QEMU_DEPENDENCIES += host-vde2
|
||||
endif
|
||||
|
||||
# Override CPP, as it expects to be able to call it like it'd
|
||||
# call the compiler.
|
||||
define HOST_QEMU_CONFIGURE_CMDS
|
||||
cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure \
|
||||
--target-list="$(HOST_QEMU_TARGETS)" \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--interp-prefix=$(STAGING_DIR) \
|
||||
--cc="$(HOSTCC)" \
|
||||
--host-cc="$(HOSTCC)" \
|
||||
--python=$(HOST_DIR)/usr/bin/python2 \
|
||||
--extra-cflags="$(HOST_CFLAGS)" \
|
||||
--extra-ldflags="$(HOST_LDFLAGS)" \
|
||||
cd $(@D); $(HOST_CONFIGURE_OPTS) CPP="$(HOSTCC) -E" \
|
||||
./configure \
|
||||
--target-list="$(HOST_QEMU_TARGETS)" \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--interp-prefix=$(STAGING_DIR) \
|
||||
--cc="$(HOSTCC)" \
|
||||
--host-cc="$(HOSTCC)" \
|
||||
--python=$(HOST_DIR)/usr/bin/python2 \
|
||||
--extra-cflags="$(HOST_CFLAGS)" \
|
||||
--extra-ldflags="$(HOST_LDFLAGS)" \
|
||||
$(HOST_QEMU_OPTS)
|
||||
endef
|
||||
|
||||
@@ -193,11 +206,20 @@ else
|
||||
QEMU_OPTS += --disable-fdt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QEMU_TOOLS),y)
|
||||
QEMU_OPTS += --enable-tools
|
||||
else
|
||||
QEMU_OPTS += --disable-tools
|
||||
endif
|
||||
|
||||
# Override CPP, as it expects to be able to call it like it'd
|
||||
# call the compiler.
|
||||
define QEMU_CONFIGURE_CMDS
|
||||
( cd $(@D); \
|
||||
LIBS='$(QEMU_LIBS)' \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
CPP="$(TARGET_CC) -E" \
|
||||
$(QEMU_VARS) \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
@@ -228,7 +250,6 @@ define QEMU_CONFIGURE_CMDS
|
||||
--disable-strip \
|
||||
--disable-seccomp \
|
||||
--disable-sparse \
|
||||
--disable-tools \
|
||||
$(QEMU_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user