diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:59:10 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:13:09 +0200 |
commit | e064c208e2c78663b0be1316117d963798839d6e (patch) | |
tree | d5d7bb0e950e5d6960d464f96f82f8132b8225c8 /recipes-devtools/qemu/qemu_fslgit.bb | |
download | meta-fsl-ppc-daisy-enea.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-devtools/qemu/qemu_fslgit.bb')
-rw-r--r-- | recipes-devtools/qemu/qemu_fslgit.bb | 54 |
1 files changed, 54 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..810794d --- /dev/null +++ b/recipes-devtools/qemu/qemu_fslgit.bb | |||
@@ -0,0 +1,54 @@ | |||
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 v1.4 with FSL specific patches applied | ||
7 | PV = "1.4+fsl" | ||
8 | |||
9 | SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;nobranch=1" | ||
10 | SRCREV = "99231018edf75522aea2630e4089c9163566fb73" | ||
11 | |||
12 | SRC_URI += " \ | ||
13 | file://0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch \ | ||
14 | file://0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch \ | ||
15 | file://fdt_header.patch \ | ||
16 | file://add-gtk-options.patch \ | ||
17 | " | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | QEMU_TARGETS = "ppc" | ||
22 | PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror --disable-vnc --audio-drv-list="" --audio-card-list="" --disable-bluez --disable-curl' | ||
23 | EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
24 | EXTRA_OECONF_e6500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
25 | EXTRA_OECONF_e6500 = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
26 | EXTRA_OECONF_e5500 = "--target-list=ppc64-softmmu ${PPC_OECONF}" | ||
27 | EXTRA_OECONF_e500v2 = "--target-list=ppc-softmmu ${PPC_OECONF}" | ||
28 | EXTRA_OECONF_e500mc = "--target-list=ppc-softmmu ${PPC_OECONF}" | ||
29 | |||
30 | do_configure_prepend() { | ||
31 | export PKG_CONFIG=${STAGING_DIR_NATIVE}${bindir_native}/pkg-config | ||
32 | } | ||
33 | |||
34 | do_configure_append () { | ||
35 | grep 'CONFIG_FDT=y' config-host.mak | ||
36 | } | ||
37 | |||
38 | # gets around qemu.inc trying to install powerpc_rom.bin | ||
39 | do_install_prepend() { | ||
40 | touch ${WORKDIR}/powerpc_rom.bin | ||
41 | } | ||
42 | |||
43 | do_install_append() { | ||
44 | rm ${WORKDIR}/powerpc_rom.bin | ||
45 | } | ||
46 | |||
47 | INSANE_SKIP_${PN} += "dev-deps" | ||
48 | |||
49 | # This is only meant to be build to run on the target | ||
50 | # for the given arch types listed, otherwise don't let | ||
51 | # the package get built. COMPATIBLE_HOST would not work | ||
52 | # because it was too generic | ||
53 | COMPATIBLE_MACHINE = "a^" | ||
54 | COMPATIBLE_MACHINE_libc-glibc_fslmachine = ".*" | ||