summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/qemu/qemu_fslgit.bb
diff options
context:
space:
mode:
authorBogdan Oprescu <bogdan.oprescu@enea.com>2023-10-26 15:04:48 +0300
committerBogdan Oprescu <bogdan.oprescu@enea.com>2023-10-26 15:28:16 +0300
commitf877a1524b36f0e157f2208f58fc5ff04e3670f7 (patch)
tree0a4bc099641efaa616ff9a3b5ab2da96c1dc13bf /recipes-devtools/qemu/qemu_fslgit.bb
downloadmeta-fsl-ppc-daisy-enea-231026.tar.gz
Adding the source code from EneaLinux 4.0_6daisy-enea-231026
Signed-off-by: Bogdan Oprescu <bogdan.oprescu@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 = ".*"