diff options
author | Ting Liu <ting.liu@nxp.com> | 2016-06-16 16:58:01 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-08-12 11:41:02 -0300 |
commit | 37332a9d2cbe42f15aa371750a0eb4533fdfae9d (patch) | |
tree | 35cc5b35fbe844777fde5d8aefa7adc3c1f3c000 /recipes-devtools | |
parent | 5f20962cd0017ddd4873942abd9c8aaa3cf2a3ee (diff) | |
download | meta-freescale-37332a9d2cbe42f15aa371750a0eb4533fdfae9d.tar.gz |
qemu-qoriq: upgrade to v2.4 plus fsl patches
Detailed commit log can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/qemu.git/log/?h=sdk-v2.0.x
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/qemu/qemu-qoriq_git.bb | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index 99c1293d..d7651fbc 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb | |||
@@ -14,30 +14,19 @@ python() { | |||
14 | } | 14 | } |
15 | 15 | ||
16 | DESCRIPTION = "This recipe requires poky's qemu.inc which includes the FSL \ | 16 | DESCRIPTION = "This recipe requires poky's qemu.inc which includes the FSL \ |
17 | fixes of QorIQ ARM and QorIQ PPC targets, the recipe assumes that glx enable \ | 17 | fixes of QorIQ ARM and QorIQ PPC targets. The recipe only works for FSL \ |
18 | config option is changed to --enable-opengl. The recipe only works for FSL \ | ||
19 | QorIQ machines. The poky version should be used for native/nativesdk build." | 18 | QorIQ machines. The poky version should be used for native/nativesdk build." |
20 | 19 | ||
21 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | 20 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ |
22 | file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" | 21 | file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" |
23 | 22 | ||
24 | # This means QEMU v2.2.0 with FSL specific patches applied | 23 | # remove not supported PACKAGECONFIG by this recipe |
25 | PV = "2.2.0+${SRCPV}" | ||
26 | |||
27 | # FIXME: this recipe requires poky's qemu.inc which assumes version 2.3 | ||
28 | # where glx enable config option changed to --enable-opengl. For now we | ||
29 | # restore it, but we should remove the following lines when upgrading | ||
30 | # to qemu 2.3: | ||
31 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,mesa" | ||
32 | # remove not supported PACKAGECONFIG by this v2.2.0 based recipe | ||
33 | PACKAGECONFIG[gnutls] = "" | ||
34 | PACKAGECONFIG[gcrypt] = "" | 24 | PACKAGECONFIG[gcrypt] = "" |
35 | PACKAGECONFIG[nettle] = "" | 25 | PACKAGECONFIG[nettle] = "" |
36 | PACKAGECONFIG[nss] = "" | 26 | PACKAGECONFIG[nss] = "" |
37 | RDEPENDS_${PN}_append = " gnutls" | ||
38 | 27 | ||
39 | SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;branch=sdk-v1.9.x" | 28 | SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;branch=sdk-v2.0.x" |
40 | SRCREV = "8362a298c4feef33c84d7db2d111af18bd29ef86" | 29 | SRCREV = "4b846e9b2b15660abace52dd27a406af08c4212d" |
41 | 30 | ||
42 | # add ptest patches | 31 | # add ptest patches |
43 | SRC_URI_append = "\ | 32 | SRC_URI_append = "\ |
@@ -49,6 +38,7 @@ S = "${WORKDIR}/git" | |||
49 | 38 | ||
50 | QEMU_TARGETS_qoriq-ppc = "ppc" | 39 | QEMU_TARGETS_qoriq-ppc = "ppc" |
51 | QEMU_TARGETS_qoriq-arm = "arm" | 40 | QEMU_TARGETS_qoriq-arm = "arm" |
41 | QEMU_TARGETS_qoriq_arm64 = "aarch64" | ||
52 | PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror --disable-vnc --disable-bluez --disable-curl' | 42 | PPC_OECONF = '${SDL} --cross-prefix=${TARGET_PREFIX} --disable-werror --disable-vnc --disable-bluez --disable-curl' |
53 | EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" | 43 | EXTRA_OECONF_e5500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" |
54 | EXTRA_OECONF_e6500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" | 44 | EXTRA_OECONF_e6500-64b = "--target-list=ppc64-softmmu ${PPC_OECONF}" |
@@ -56,9 +46,9 @@ EXTRA_OECONF_e6500 = "--target-list=ppc64-softmmu ${PPC_OECONF}" | |||
56 | EXTRA_OECONF_e5500 = "--target-list=ppc64-softmmu ${PPC_OECONF}" | 46 | EXTRA_OECONF_e5500 = "--target-list=ppc64-softmmu ${PPC_OECONF}" |
57 | EXTRA_OECONF_e500v2 = "--target-list=ppc-softmmu ${PPC_OECONF}" | 47 | EXTRA_OECONF_e500v2 = "--target-list=ppc-softmmu ${PPC_OECONF}" |
58 | EXTRA_OECONF_e500mc = "--target-list=ppc-softmmu ${PPC_OECONF}" | 48 | EXTRA_OECONF_e500mc = "--target-list=ppc-softmmu ${PPC_OECONF}" |
59 | PACKAGECONFIG_append = " libusb" | 49 | PACKAGECONFIG_append = " aio libusb" |
60 | 50 | ||
61 | inherit pkgconfig | 51 | DISABLE_STATIC = "" |
62 | 52 | ||
63 | # Append build host pkg-config paths for native target since the host may provide sdl | 53 | # Append build host pkg-config paths for native target since the host may provide sdl |
64 | do_configure_prepend() { | 54 | do_configure_prepend() { |
@@ -67,7 +57,7 @@ do_configure_prepend() { | |||
67 | 57 | ||
68 | do_configure_append () { | 58 | do_configure_append () { |
69 | if ! grep 'CONFIG_FDT=y' config-host.mak; then | 59 | if ! grep 'CONFIG_FDT=y' config-host.mak; then |
70 | echo "CONFIG_RDMA=y" >> config-host.mak | 60 | echo "CONFIG_RDMA=y" >> config_host_mak |
71 | fi | 61 | fi |
72 | } | 62 | } |
73 | 63 | ||