diff options
5 files changed, 68 insertions, 21 deletions
diff --git a/recipes-extended/xen/files/0001-arm-silence-gcc14-warning-error-on-irq-bounds-check.patch b/recipes-extended/xen/files/0001-arm-silence-gcc14-warning-error-on-irq-bounds-check.patch index a3dbbbb4..637d6fe5 100644 --- a/recipes-extended/xen/files/0001-arm-silence-gcc14-warning-error-on-irq-bounds-check.patch +++ b/recipes-extended/xen/files/0001-arm-silence-gcc14-warning-error-on-irq-bounds-check.patch | |||
@@ -21,11 +21,11 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | |||
21 | xen/arch/arm/irq.c | 19 ++++++++++++------- | 21 | xen/arch/arm/irq.c | 19 ++++++++++++------- |
22 | 1 file changed, 12 insertions(+), 7 deletions(-) | 22 | 1 file changed, 12 insertions(+), 7 deletions(-) |
23 | 23 | ||
24 | diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c | 24 | Index: git/xen/arch/arm/irq.c |
25 | index ae69fb4aeb..dcac86bd84 100644 | 25 | =================================================================== |
26 | --- a/xen/arch/arm/irq.c | 26 | --- git.orig/xen/arch/arm/irq.c |
27 | +++ b/xen/arch/arm/irq.c | 27 | +++ git/xen/arch/arm/irq.c |
28 | @@ -58,8 +58,13 @@ hw_irq_controller no_irq_type = { | 28 | @@ -48,8 +48,13 @@ void irq_end_none(struct irq_desc *irq) |
29 | static irq_desc_t irq_desc[NR_IRQS]; | 29 | static irq_desc_t irq_desc[NR_IRQS]; |
30 | static DEFINE_PER_CPU(irq_desc_t[NR_LOCAL_IRQS], local_irq_desc); | 30 | static DEFINE_PER_CPU(irq_desc_t[NR_LOCAL_IRQS], local_irq_desc); |
31 | 31 | ||
@@ -39,7 +39,7 @@ index ae69fb4aeb..dcac86bd84 100644 | |||
39 | if ( irq < NR_LOCAL_IRQS ) | 39 | if ( irq < NR_LOCAL_IRQS ) |
40 | return &this_cpu(local_irq_desc)[irq]; | 40 | return &this_cpu(local_irq_desc)[irq]; |
41 | 41 | ||
42 | @@ -723,16 +728,16 @@ int platform_get_irq(const struct dt_device_node *device, int index) | 42 | @@ -722,16 +727,16 @@ int platform_get_irq(const struct dt_dev |
43 | 43 | ||
44 | int platform_get_irq_byname(const struct dt_device_node *np, const char *name) | 44 | int platform_get_irq_byname(const struct dt_device_node *np, const char *name) |
45 | { | 45 | { |
@@ -63,6 +63,3 @@ index ae69fb4aeb..dcac86bd84 100644 | |||
63 | } | 63 | } |
64 | 64 | ||
65 | /* | 65 | /* |
66 | -- | ||
67 | 2.39.2 | ||
68 | |||
diff --git a/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch b/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch index 7ac1a399..bfd1acb4 100644 --- a/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch +++ b/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch | |||
@@ -1,10 +1,10 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile | 3 | Index: git/tools/pygrub/Makefile |
4 | index 4963bc89c6..c1c05eb421 100644 | 4 | =================================================================== |
5 | --- a/tools/pygrub/Makefile | 5 | --- git.orig/tools/pygrub/Makefile |
6 | +++ b/tools/pygrub/Makefile | 6 | +++ git/tools/pygrub/Makefile |
7 | @@ -13,14 +13,14 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA | 7 | @@ -13,14 +13,14 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAG |
8 | all: build | 8 | all: build |
9 | .PHONY: build | 9 | .PHONY: build |
10 | build: | 10 | build: |
@@ -19,13 +19,13 @@ index 4963bc89c6..c1c05eb421 100644 | |||
19 | - --root="$(DESTDIR)" --force | 19 | - --root="$(DESTDIR)" --force |
20 | + --root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) | 20 | + --root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) |
21 | $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub | 21 | $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub |
22 | set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ | 22 | |
23 | "`readlink -f $(DESTDIR)/$(bindir)`" != \ | 23 | .PHONY: uninstall |
24 | diff --git a/tools/python/Makefile b/tools/python/Makefile | 24 | Index: git/tools/python/Makefile |
25 | index 437431c48e..0a99c2067e 100644 | 25 | =================================================================== |
26 | --- a/tools/python/Makefile | 26 | --- git.orig/tools/python/Makefile |
27 | +++ b/tools/python/Makefile | 27 | +++ git/tools/python/Makefile |
28 | @@ -16,13 +16,13 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA | 28 | @@ -16,13 +16,13 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAG |
29 | 29 | ||
30 | .PHONY: build | 30 | .PHONY: build |
31 | build: | 31 | build: |
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index 5f010a5d..72d0b377 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
@@ -213,6 +213,7 @@ PACKAGES = " \ | |||
213 | ${PN}-test \ | 213 | ${PN}-test \ |
214 | ${PN}-xen-vmtrace \ | 214 | ${PN}-xen-vmtrace \ |
215 | ${PN}-xen-mceinj \ | 215 | ${PN}-xen-mceinj \ |
216 | ${PN}-xen-9pfsd \ | ||
216 | " | 217 | " |
217 | 218 | ||
218 | PROVIDES =+ " \ | 219 | PROVIDES =+ " \ |
@@ -594,6 +595,12 @@ FILES:${PN}-xenstored = "\ | |||
594 | ${localstatedir}/lib/xenstored \ | 595 | ${localstatedir}/lib/xenstored \ |
595 | " | 596 | " |
596 | 597 | ||
598 | FILES:${PN}-xen-9pfsd = "\ | ||
599 | ${libdir}/xen/bin/xen-9pfsd \ | ||
600 | " | ||
601 | # 9pfsd is only on xen-4.19+ | ||
602 | ALLOW_EMPTY:${PN}-xen-9pfsd = "1" | ||
603 | |||
597 | FILES:${PN}-xentrace = "\ | 604 | FILES:${PN}-xentrace = "\ |
598 | ${bindir}/xentrace \ | 605 | ${bindir}/xentrace \ |
599 | ${bindir}/xentrace_setsize \ | 606 | ${bindir}/xentrace_setsize \ |
diff --git a/recipes-extended/xen/xen-tools_4.19.bb b/recipes-extended/xen/xen-tools_4.19.bb new file mode 100644 index 00000000..68a9491f --- /dev/null +++ b/recipes-extended/xen/xen-tools_4.19.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | # tag: RELEASE-4.19.0 | ||
2 | SRCREV ?= "026c9fa29716b0ff0f8b7c687908e71ba29cf239" | ||
3 | |||
4 | XEN_REL ?= "4.19" | ||
5 | XEN_BRANCH ?= "stable-4.19" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ | ||
9 | file://0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch \ | ||
10 | " | ||
11 | |||
12 | LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" | ||
13 | |||
14 | PV = "${XEN_REL}+stable" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | DEFAULT_PREFERENCE ??= "-1" | ||
19 | |||
20 | require xen.inc | ||
21 | require xen-tools.inc | ||
diff --git a/recipes-extended/xen/xen_4.19.bb b/recipes-extended/xen/xen_4.19.bb new file mode 100644 index 00000000..6d3ecfa2 --- /dev/null +++ b/recipes-extended/xen/xen_4.19.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | # tag: RELEASE-4.19.0 | ||
2 | SRCREV ?= "026c9fa29716b0ff0f8b7c687908e71ba29cf239" | ||
3 | |||
4 | XEN_REL ?= "4.19.0" | ||
5 | XEN_BRANCH ?= "stable-4.19" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ | ||
9 | file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \ | ||
10 | file://0001-arm-silence-gcc14-warning-error-on-irq-bounds-check.patch \ | ||
11 | " | ||
12 | |||
13 | LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" | ||
14 | |||
15 | PV = "${XEN_REL}+stable" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | DEFAULT_PREFERENCE ??= "-1" | ||
20 | |||
21 | require xen.inc | ||
22 | require xen-hypervisor.inc | ||