diff options
| author | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-06-06 15:53:05 -0700 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-06-06 15:53:08 -0700 |
| commit | 7759c81140ad401381654123c0c26ee8656d10cc (patch) | |
| tree | 1adb95b9dc180ab29098331a39db955658fe863c | |
| parent | ed22b945460d3644562fd035c97e10be0d7dc16a (diff) | |
| download | meta-xilinx-7759c81140ad401381654123c0c26ee8656d10cc.tar.gz | |
qemu-xilinx.inc: Add patch to enable/disbable libudev in qemu configure
Yocto qemu provides support for libudev through packageconfig and provides a
patch to modify qemu configure to handle libudev packageconfig options. Since
qemu-xilinx doesnt contain this patch qemu-xilinx configure gets passed libudev
packageconfig option and qemu-xilinx configure fails with invalid option.
Add the patch from Yocto qemu to handle libudev configure options correctly.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| -rw-r--r-- | meta-xilinx-bsp/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch | 29 | ||||
| -rw-r--r-- | meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc | 4 |
2 files changed, 32 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch b/meta-xilinx-bsp/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch new file mode 100644 index 00000000..c2c5849d --- /dev/null +++ b/meta-xilinx-bsp/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From a471cf4e4c73350e090eb2cd87ec959d138012e5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jeremy Puhlman <jpuhlman@mvista.com> | ||
| 3 | Date: Thu, 19 Mar 2020 11:54:26 -0700 | ||
| 4 | Subject: [PATCH] Add enable/disable libudev | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> | ||
| 8 | --- | ||
| 9 | configure | 4 ++++ | ||
| 10 | 1 file changed, 4 insertions(+) | ||
| 11 | |||
| 12 | diff --git a/configure b/configure | ||
| 13 | index cac271c..bd116eb 100755 | ||
| 14 | --- a/configure | ||
| 15 | +++ b/configure | ||
| 16 | @@ -1539,6 +1539,10 @@ for opt do | ||
| 17 | ;; | ||
| 18 | --disable-plugins) plugins="no" | ||
| 19 | ;; | ||
| 20 | + --enable-libudev) libudev="yes" | ||
| 21 | + ;; | ||
| 22 | + --disable-libudev) libudev="no" | ||
| 23 | + ;; | ||
| 24 | *) | ||
| 25 | echo "ERROR: unknown option $opt" | ||
| 26 | echo "Try '$0 --help' for more information" | ||
| 27 | -- | ||
| 28 | 1.8.3.1 | ||
| 29 | |||
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc index af5fed81..f4cdf31c 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc | |||
| @@ -23,7 +23,9 @@ REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https" | |||
| 23 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 23 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 24 | SRC_URI = "${REPO};${BRANCHARG}" | 24 | SRC_URI = "${REPO};${BRANCHARG}" |
| 25 | 25 | ||
| 26 | SRC_URI_append = " file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch" | 26 | SRC_URI_append = " file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \ |
| 27 | file://0001-Add-enable-disable-udev.patch \ | ||
| 28 | " | ||
| 27 | 29 | ||
| 28 | S = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/git" |
| 29 | 31 | ||
