diff options
Diffstat (limited to 'recipes-devtools/qemu/qemu_fslgit.bb')
-rw-r--r-- | recipes-devtools/qemu/qemu_fslgit.bb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-devtools/qemu/qemu_fslgit.bb new file mode 100644 index 0000000..32e738e --- /dev/null +++ b/recipes-devtools/qemu/qemu_fslgit.bb | |||
@@ -0,0 +1,57 @@ | |||
1 | require recipes-devtools/qemu/qemu.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | ||
4 | file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" | ||
5 | |||
6 | # This means QEMU v1.7 with FSL specific patches applied | ||
7 | PV = "1.7+fsl" | ||
8 | |||
9 | # NOTE: these options are note available in qemu 1.7, but qemu.inc assumes | ||
10 | # version 2.0+ where they are available. For now we unset them, but we should | ||
11 | # remove the following lines when upgrading to qemu 2.0+: | ||
12 | PACKAGECONFIG[quorum] = "" | ||
13 | PACKAGECONFIG[lzo] = "" | ||
14 | PACKAGECONFIG[numa] = "" | ||
15 | PACKAGECONFIG[gtk+] = "" | ||
16 | |||
17 | SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;nobranch=1" | ||
18 | SRCREV = "6ac4597c059d35e2737b234747243e56d340f4db" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | QEMU_TARGETS = "ppc" | ||
23 | PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror --disable-vnc --disable-bluez --disable-curl --enable-libusb' | ||
24 | EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
25 | EXTRA_OECONF_e6500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
26 | EXTRA_OECONF_e6500 = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
27 | EXTRA_OECONF_e5500 = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
28 | EXTRA_OECONF_e500v2 = "--target-list=ppc-softmmu ${PPC_OECONF}" | ||
29 | EXTRA_OECONF_e500mc = "--target-list=ppc-softmmu ${PPC_OECONF}" | ||
30 | |||
31 | do_configure_prepend() { | ||
32 | export PKG_CONFIG=${STAGING_DIR_NATIVE}${bindir_native}/pkg-config | ||
33 | } | ||
34 | |||
35 | do_configure_append () { | ||
36 | grep 'CONFIG_FDT=y' config-host.mak | ||
37 | } | ||
38 | |||
39 | # gets around qemu.inc trying to install powerpc_rom.bin | ||
40 | do_install_prepend() { | ||
41 | touch ${WORKDIR}/powerpc_rom.bin | ||
42 | } | ||
43 | |||
44 | do_install_append() { | ||
45 | rm ${WORKDIR}/powerpc_rom.bin | ||
46 | # Prevent QA warnings about installed ${localstatedir}/run | ||
47 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | ||
48 | } | ||
49 | |||
50 | INSANE_SKIP_${PN} += "dev-deps" | ||
51 | |||
52 | # This is only meant to be build to run on the target | ||
53 | # for the given arch types listed, otherwise don't let | ||
54 | # the package get built. COMPATIBLE_HOST would not work | ||
55 | # because it was too generic | ||
56 | COMPATIBLE_MACHINE = "a^" | ||
57 | COMPATIBLE_MACHINE_libc-glibc_qoriq-ppc = ".*" | ||