Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
From 234847440a5d3cf95540ea79f7a08d50cccfef73 Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Francis <alistair.francis@xilinx.com>
|
||||
Date: Tue, 13 Sep 2016 10:48:31 -0700
|
||||
Subject: [PATCH] Remove hardcoded strict -Werror checking
|
||||
|
||||
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
|
||||
---
|
||||
Config.mk | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Config.mk b/Config.mk
|
||||
index bd991c6..e7ac662 100644
|
||||
--- a/Config.mk
|
||||
+++ b/Config.mk
|
||||
@@ -36,7 +36,7 @@ CONFIG_$(XEN_OS) := y
|
||||
SHELL ?= /bin/sh
|
||||
|
||||
# Tools to run on system hosting the build
|
||||
-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
|
||||
+HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
|
||||
HOSTCFLAGS += -fno-strict-aliasing
|
||||
|
||||
DISTDIR ?= $(XEN_ROOT)/dist
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
Message-Id: <07010a2ad79559c412949f0005dbe3cb03d8416e.1498504812.git.ps@pks.im>
|
||||
From: Patrick Steinhardt <ps@pks.im>
|
||||
Date: Mon, 26 Jun 2017 21:20:45 +0200
|
||||
Subject: [PATCH] 9pfs: include <linux/limits.h> for XATTR_SIZE_MAX
|
||||
|
||||
The function `v9fs_xattrcreate` makes use of the define `XATTR_SIZE_MAX`
|
||||
to reject attempts of creating xattrs with an invalid size, which is
|
||||
defined in <linux/limits.h>. On glibc-based systems, this header is
|
||||
indirectly included via <limits.h>, <bits/posix1_lim.h>,
|
||||
<bitts/local_lim.h>, but on other platforms this is not guaranteed due
|
||||
to not being part of the POSIX standard. One examples are systems based
|
||||
on musl libc, which do not include the <linux/limits.h> indirectly,
|
||||
which leads to `XATTR_SIZE_MAX` being undefined.
|
||||
|
||||
Fix this error by directly include <linux/limits.h>. As the 9P fs code
|
||||
is being Linux-based either way, we can simply do so without breaking
|
||||
other platforms. This enables building 9pfs on musl-based systems.
|
||||
|
||||
Signed-off-by: Patrick Steinhardt <ps@pks.im>
|
||||
[ Changes by AF
|
||||
- Apply to the QEMU tree inside of Xen
|
||||
]
|
||||
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
|
||||
---
|
||||
Upstream Status: Pending review and acceptance
|
||||
|
||||
tools/qemu-xen/hw/9pfs/9p.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tools/qemu-xen/hw/9pfs/9p.c b/tools/qemu-xen/hw/9pfs/9p.c
|
||||
index 96d2683348..48cd558e96 100644
|
||||
--- a/tools/qemu-xen/hw/9pfs/9p.c
|
||||
+++ b/tools/qemu-xen/hw/9pfs/9p.c
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <glib/gprintf.h>
|
||||
+#include <linux/limits.h>
|
||||
#include "hw/virtio/virtio.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/error-report.h"
|
||||
--
|
||||
2.13.2
|
||||
@@ -1,26 +0,0 @@
|
||||
From 19f1e70041044fde1542109a0525424cc6d5d053 Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Francis <alistair.francis@xilinx.com>
|
||||
Date: Wed, 7 Dec 2016 11:35:10 -0800
|
||||
Subject: [PATCH] tools/libxl: Disable strict Werror checking
|
||||
|
||||
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
|
||||
---
|
||||
tools/libxl/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile
|
||||
index defeb40..239faf3 100644
|
||||
--- a/tools/libxl/Makefile
|
||||
+++ b/tools/libxl/Makefile
|
||||
@@ -11,7 +11,7 @@ MINOR = 0
|
||||
XLUMAJOR = 4.7
|
||||
XLUMINOR = 0
|
||||
|
||||
-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
|
||||
+CFLAGS += -Wno-format-zero-length -Wmissing-declarations \
|
||||
-Wno-declaration-after-statement -Wformat-nonliteral
|
||||
CFLAGS += -I. -fPIC
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -13,9 +13,9 @@ if BR2_PACKAGE_XEN
|
||||
config BR2_PACKAGE_XEN_HYPERVISOR
|
||||
bool "Xen hypervisor"
|
||||
help
|
||||
The Xen binaries are avaliable in /usr/lib/xen/
|
||||
See http://wiki.xenproject.org/wiki/Getting_Started for using the
|
||||
Xen hypervisor.
|
||||
The Xen binaries are avaliable in /usr/lib/xen/ See
|
||||
http://wiki.xenproject.org/wiki/Getting_Started for using
|
||||
the Xen hypervisor.
|
||||
|
||||
config BR2_PACKAGE_XEN_TOOLS
|
||||
bool "Xen tools"
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 5b5385b476e59e4cf31ecc6dd605df38814b83432b8e8d917f18c8edfdfb708f xen-4.7.3.tar.gz
|
||||
sha256 fffcc0a4428723e6aea391ff4f1d27326b5a3763d2308cbde64e6a786502c702 xsa226-4.7.patch
|
||||
sha256 9923a47e5f86949800887596f098954a08ef73a01d74b1dbe16cab2e6b1fabb2 xsa227.patch
|
||||
sha256 5a7416f15ac9cd7cace354b6102ff58199fe0581f65a36a36869650c71784e48 xsa228-4.8.patch
|
||||
sha256 77a73f1c32d083e315ef0b1bbb119cb8840ceb5ada790cad76cbfb9116f725cc xsa230.patch
|
||||
sha256 ce29b56a0480f4835b37835b351e704d204bb0ccd22325f487127aa2776cc2cf xsa231-4.7.patch
|
||||
sha256 5068a78293daa58557c30c95141b775becfb650de6a5eda0d82a4a321ced551c xsa232.patch
|
||||
sha256 f721cc49ba692b2f36299b631451f51d7340b8b4732f74c98f01cb7a80d8662b xsa233.patch
|
||||
sha256 169e4e0eaa6b27e58ff0f4ce50e8fcc3f81b1e0a10210decf22d1b4cac7501fb xsa234-4.8.patch
|
||||
sha256 f30848eee71e66687b421b87be1d8e3f454c0eb395422546c62a689153d1e31c xsa235-4.7.patch
|
||||
sha256 526f9e1b127fbb316762ce8e8f4563bc9de0c55a1db581456a3017d570d35bdd 0001-xen-page_alloc-Cover-memory-unreserved-after-boot-in.patch
|
||||
sha256 7164010112fcccd9cd88e72ace2eeabdb364dd6f4d05c434686267d18067f420 0002-xen-arm-Correctly-report-the-memory-region-in-the-du.patch
|
||||
sha256 d5a944a34e47e9d52b2837f616821eb4a9514c8fd0955dcc723111dba499acd4 xen-4.10.2.tar.gz
|
||||
sha256 dba0d79260259c013c52e5d4daeaea564a2fbb9ff7fc6778c377a401ec3898de COPYING
|
||||
|
||||
@@ -4,23 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XEN_VERSION = 4.7.3
|
||||
XEN_VERSION = 4.10.2
|
||||
XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
|
||||
XEN_PATCH = \
|
||||
https://xenbits.xenproject.org/xsa/xsa226-4.7.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa227.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa228-4.8.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa230.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa231-4.7.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa232.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa233.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa234-4.8.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa235-4.7.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa245/0001-xen-page_alloc-Cover-memory-unreserved-after-boot-in.patch \
|
||||
https://xenbits.xenproject.org/xsa/xsa245/0002-xen-arm-Correctly-report-the-memory-region-in-the-du.patch
|
||||
XEN_LICENSE = GPLv2
|
||||
XEN_LICENSE = GPL-2.0
|
||||
XEN_LICENSE_FILES = COPYING
|
||||
XEN_DEPENDENCIES = host-python
|
||||
XEN_DEPENDENCIES = host-acpica host-python
|
||||
|
||||
# Calculate XEN_ARCH
|
||||
ifeq ($(ARCH),aarch64)
|
||||
@@ -29,12 +17,15 @@ else ifeq ($(ARCH),arm)
|
||||
XEN_ARCH = arm32
|
||||
endif
|
||||
|
||||
XEN_CONF_OPTS = --disable-ocamltools
|
||||
XEN_CONF_OPTS = \
|
||||
--disable-ocamltools \
|
||||
--with-initddir=/etc/init.d
|
||||
|
||||
XEN_CONF_ENV = PYTHON=$(HOST_DIR)/usr/bin/python2
|
||||
XEN_CONF_ENV = PYTHON=$(HOST_DIR)/bin/python2
|
||||
XEN_MAKE_ENV = \
|
||||
XEN_TARGET_ARCH=$(XEN_ARCH) \
|
||||
CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
HOST_EXTRACFLAGS="-Wno-error" \
|
||||
$(TARGET_CONFIGURE_OPTS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XEN_HYPERVISOR),y)
|
||||
@@ -54,7 +45,7 @@ XEN_DEPENDENCIES += argp-standalone
|
||||
endif
|
||||
XEN_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-tools
|
||||
XEN_MAKE_OPTS += dist-tools
|
||||
XEN_CONF_OPTS += --with-extra-qemuu-configure-args="--disable-sdl"
|
||||
XEN_CONF_OPTS += --with-extra-qemuu-configure-args="--disable-sdl --disable-opengl"
|
||||
|
||||
define XEN_INSTALL_INIT_SYSV
|
||||
mv $(TARGET_DIR)/etc/init.d/xencommons $(TARGET_DIR)/etc/init.d/S50xencommons
|
||||
|
||||
Reference in New Issue
Block a user