diff options
| author | Alistair Francis <alistair.francis@xilinx.com> | 2017-02-01 16:45:39 -0800 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2017-02-02 21:04:34 +1000 |
| commit | f6f63d2657e63f32b0e104c7429f333d5d9e6213 (patch) | |
| tree | 34a845dc80e92d6b6851107d6159d44a7ff41f35 /recipes-devtools | |
| parent | 49daadd691fb693c4f084f8f27a7814c576c6782 (diff) | |
| download | meta-xilinx-f6f63d2657e63f32b0e104c7429f333d5d9e6213.tar.gz | |
qemu-xilinx: Add support for building extensible SDK
This patch allows the user to build an extensible SDK including the
Xilinx fork of QEMU.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/qemu/qemu-xilinx_2017.1.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-devtools/qemu/qemu-xilinx_2017.1.bb b/recipes-devtools/qemu/qemu-xilinx_2017.1.bb index ee6b1e91..f291ebb4 100644 --- a/recipes-devtools/qemu/qemu-xilinx_2017.1.bb +++ b/recipes-devtools/qemu/qemu-xilinx_2017.1.bb | |||
| @@ -22,23 +22,23 @@ KVMENABLE = "--disable-kvm" | |||
| 22 | # Strip all appends (needed because qemu.inc adds patches using overrides) | 22 | # Strip all appends (needed because qemu.inc adds patches using overrides) |
| 23 | SRC_URI[_append] = "" | 23 | SRC_URI[_append] = "" |
| 24 | 24 | ||
| 25 | DISABLE_STATIC_pn-qemu-xilinx = "" | ||
| 25 | DISABLE_STATIC_pn-qemu-xilinx-native = "" | 26 | DISABLE_STATIC_pn-qemu-xilinx-native = "" |
| 26 | DISABLE_STATIC_pn-nativesdk-qemu-xilinx-native = "" | 27 | DISABLE_STATIC_pn-nativesdk-qemu-xilinx = "" |
| 28 | |||
| 29 | PTEST_ENABLED = "" | ||
| 27 | 30 | ||
| 28 | # append a suffix dir, to allow multiple versions of QEMU to be installed | 31 | # append a suffix dir, to allow multiple versions of QEMU to be installed |
| 29 | datadir_append = "/qemu-xilinx" | 32 | EXTRA_OECONF_append = " \ |
| 30 | bindir_append = "/qemu-xilinx" | 33 | --bindir=${bindir}/qemu-xilinx \ |
| 31 | libexecdir_append = "/qemu-xilinx" | 34 | --libexecdir=${libexecdir}/qemu-xilinx \ |
| 32 | 35 | --datadir=${datadir}/qemu-xilinx \ | |
| 33 | # ensure configure is passed the modified dirs | ||
| 34 | EXTRA_OECONF += " \ | ||
| 35 | --bindir=${bindir} \ | ||
| 36 | --datadir=${datadir} \ | ||
| 37 | --mandir=${mandir} \ | ||
| 38 | --docdir=${docdir} \ | ||
| 39 | " | 36 | " |
| 40 | 37 | ||
| 41 | do_install() { | 38 | do_install() { |
| 42 | export STRIP="true" | 39 | export STRIP="true" |
| 43 | autotools_do_install | 40 | autotools_do_install |
| 41 | |||
| 42 | # Prevent QA warnings about installed ${localstatedir}/run | ||
| 43 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | ||
| 44 | } | 44 | } |
