summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2015-08-12 22:42:16 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:15 -0300
commite91d77daebaec5c83f5bc4ef36970b098a7ba751 (patch)
tree6d6bf1bc910c4c1fbac6ddcd65c3f6b170c80cea /recipes-bsp
parentcdbc38d16b48598d59d2b395ed465bc7b0226d82 (diff)
downloadmeta-freescale-e91d77daebaec5c83f5bc4ef36970b098a7ba751.tar.gz
apptrk: Update recipe to support both QorIQ ARM and QorIQ PPC targets
* Conditionally define EXTRA_OEMAKE and CFLAGS * Add COMPATIBLE_MACHINE Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Acked-by: Daiane Angolini <daiane.angolini@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/apptrk/apptrk_git.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes-bsp/apptrk/apptrk_git.bb b/recipes-bsp/apptrk/apptrk_git.bb
index 1d251070..cef12927 100644
--- a/recipes-bsp/apptrk/apptrk_git.bb
+++ b/recipes-bsp/apptrk/apptrk_git.bb
@@ -15,11 +15,15 @@ SRCREV = "cbed10997c5e2a4aaa004fb0e1efec858bf1bbe1"
15 15
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17 17
18EXTRA_OEMAKE = "" 18EXTRA_OEMAKE_qoriq-arm = "ARCH=arm"
19 19
20CFLAGS += " -I${STAGING_INCDIR}" 20CFLAGS += "-I${STAGING_INCDIR} -ISource/Linux -ISource/Portable"
21CFLAGS_append_powerpc64 = " -DENABLE_64BIT_SUPPORT" 21CFLAGS_qoriq-arm += "-ISource/Linux_ARM -ISource/ARM"
22CFLAGS_qoriq-ppc += "-ISource/Linux_PA -ISource/PA -DPPC"
23CFLAGS_powerpc64 += "-DENABLE_64BIT_SUPPORT"
22 24
23do_install() { 25do_install() {
24 oe_runmake install DESTDIR=${D} 26 oe_runmake install DESTDIR=${D}
25} 27}
28
29COMPATIBLE_MACHINE = "(qoriq)"