diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-01-19 13:41:57 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-01-22 16:31:41 -0700 |
| commit | 36107a2994baadf0190f032126c5ce607d31d096 (patch) | |
| tree | 1b045e8e1edcec9c4f53bf2a41efeef4c342f239 /meta-xilinx-virtualization | |
| parent | 6af6307abbb0ea172cc7ecb301a886908c9a3aa2 (diff) | |
| download | meta-xilinx-36107a2994baadf0190f032126c5ce607d31d096.tar.gz | |
xen: Copy 4.18 recipes from meta-virtualization master
Copy xen 4.18 recipes from meta-virtualization master to this layer
to support xen 4.18 as meta-virtualization langdale release doesn't
support 4.18 version.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-virtualization')
3 files changed, 85 insertions, 0 deletions
diff --git a/meta-xilinx-virtualization/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch b/meta-xilinx-virtualization/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch new file mode 100644 index 00000000..7ac1a399 --- /dev/null +++ b/meta-xilinx-virtualization/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile | ||
| 4 | index 4963bc89c6..c1c05eb421 100644 | ||
| 5 | --- a/tools/pygrub/Makefile | ||
| 6 | +++ b/tools/pygrub/Makefile | ||
| 7 | @@ -13,14 +13,14 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA | ||
| 8 | all: build | ||
| 9 | .PHONY: build | ||
| 10 | build: | ||
| 11 | - $(setup.py) build | ||
| 12 | + $(setup.py) build $(DISTUTILS_BUILD_ARGS) | ||
| 13 | |||
| 14 | .PHONY: install | ||
| 15 | install: all | ||
| 16 | $(INSTALL_DIR) $(DESTDIR)/$(bindir) | ||
| 17 | $(INSTALL_DIR) $(DESTDIR)/$(LIBEXEC_BIN) | ||
| 18 | $(setup.py) install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ | ||
| 19 | - --root="$(DESTDIR)" --force | ||
| 20 | + --root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) | ||
| 21 | $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub | ||
| 22 | set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ | ||
| 23 | "`readlink -f $(DESTDIR)/$(bindir)`" != \ | ||
| 24 | diff --git a/tools/python/Makefile b/tools/python/Makefile | ||
| 25 | index 437431c48e..0a99c2067e 100644 | ||
| 26 | --- a/tools/python/Makefile | ||
| 27 | +++ b/tools/python/Makefile | ||
| 28 | @@ -16,13 +16,13 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA | ||
| 29 | |||
| 30 | .PHONY: build | ||
| 31 | build: | ||
| 32 | - $(setup.py) build | ||
| 33 | + $(setup.py) build $(DISTUTILS_BUILD_ARGS) | ||
| 34 | |||
| 35 | .PHONY: install | ||
| 36 | install: | ||
| 37 | $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) | ||
| 38 | $(setup.py) install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ | ||
| 39 | - --root="$(DESTDIR)" --force | ||
| 40 | + --root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) | ||
| 41 | $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) | ||
| 42 | $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN) | ||
| 43 | |||
diff --git a/meta-xilinx-virtualization/recipes-extended/xen/xen-tools_4.18.bb b/meta-xilinx-virtualization/recipes-extended/xen/xen-tools_4.18.bb new file mode 100644 index 00000000..a3b1e344 --- /dev/null +++ b/meta-xilinx-virtualization/recipes-extended/xen/xen-tools_4.18.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # tag: RELEASE-4.18.0 | ||
| 2 | SRCREV ?= "d75f1e9b74314cea91ce435730d4e3539ecca77d" | ||
| 3 | |||
| 4 | XEN_REL ?= "4.18" | ||
| 5 | XEN_BRANCH ?= "stable-4.18" | ||
| 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/meta-xilinx-virtualization/recipes-extended/xen/xen_4.18.bb b/meta-xilinx-virtualization/recipes-extended/xen/xen_4.18.bb new file mode 100644 index 00000000..8da44559 --- /dev/null +++ b/meta-xilinx-virtualization/recipes-extended/xen/xen_4.18.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # tag: RELEASE-4.18.0 | ||
| 2 | SRCREV ?= "d75f1e9b74314cea91ce435730d4e3539ecca77d" | ||
| 3 | |||
| 4 | XEN_REL ?= "4.18" | ||
| 5 | XEN_BRANCH ?= "stable-4.18" | ||
| 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 | " | ||
| 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-hypervisor.inc | ||
