summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/qemu/qemu_fslgit.bb
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 13:59:10 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 14:13:09 +0200
commite064c208e2c78663b0be1316117d963798839d6e (patch)
treed5d7bb0e950e5d6960d464f96f82f8132b8225c8 /recipes-devtools/qemu/qemu_fslgit.bb
downloadmeta-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.bb54
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 @@
1require recipes-devtools/qemu/qemu.inc
2
3LIC_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
7PV = "1.4+fsl"
8
9SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;nobranch=1"
10SRCREV = "99231018edf75522aea2630e4089c9163566fb73"
11
12SRC_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
19S = "${WORKDIR}/git"
20
21QEMU_TARGETS = "ppc"
22PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror --disable-vnc --audio-drv-list="" --audio-card-list="" --disable-bluez --disable-curl'
23EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}"
24EXTRA_OECONF_e6500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}"
25EXTRA_OECONF_e6500 = "--target-list=ppc64-softmmu ${PPC_OECONF}"
26EXTRA_OECONF_e5500 = "--target-list=ppc64-softmmu ${PPC_OECONF}"
27EXTRA_OECONF_e500v2 = "--target-list=ppc-softmmu ${PPC_OECONF}"
28EXTRA_OECONF_e500mc = "--target-list=ppc-softmmu ${PPC_OECONF}"
29
30do_configure_prepend() {
31 export PKG_CONFIG=${STAGING_DIR_NATIVE}${bindir_native}/pkg-config
32}
33
34do_configure_append () {
35 grep 'CONFIG_FDT=y' config-host.mak
36}
37
38# gets around qemu.inc trying to install powerpc_rom.bin
39do_install_prepend() {
40 touch ${WORKDIR}/powerpc_rom.bin
41}
42
43do_install_append() {
44 rm ${WORKDIR}/powerpc_rom.bin
45}
46
47INSANE_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
53COMPATIBLE_MACHINE = "a^"
54COMPATIBLE_MACHINE_libc-glibc_fslmachine = ".*"