diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-08-12 22:42:16 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:15 -0300 |
commit | e91d77daebaec5c83f5bc4ef36970b098a7ba751 (patch) | |
tree | 6d6bf1bc910c4c1fbac6ddcd65c3f6b170c80cea /recipes-bsp | |
parent | cdbc38d16b48598d59d2b395ed465bc7b0226d82 (diff) | |
download | meta-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.bb | 10 |
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 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | EXTRA_OEMAKE = "" | 18 | EXTRA_OEMAKE_qoriq-arm = "ARCH=arm" |
19 | 19 | ||
20 | CFLAGS += " -I${STAGING_INCDIR}" | 20 | CFLAGS += "-I${STAGING_INCDIR} -ISource/Linux -ISource/Portable" |
21 | CFLAGS_append_powerpc64 = " -DENABLE_64BIT_SUPPORT" | 21 | CFLAGS_qoriq-arm += "-ISource/Linux_ARM -ISource/ARM" |
22 | CFLAGS_qoriq-ppc += "-ISource/Linux_PA -ISource/PA -DPPC" | ||
23 | CFLAGS_powerpc64 += "-DENABLE_64BIT_SUPPORT" | ||
22 | 24 | ||
23 | do_install() { | 25 | do_install() { |
24 | oe_runmake install DESTDIR=${D} | 26 | oe_runmake install DESTDIR=${D} |
25 | } | 27 | } |
28 | |||
29 | COMPATIBLE_MACHINE = "(qoriq)" | ||