aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@nxp.com>2016-01-09 14:43:18 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:23 -0300
commitb931275b64cff991beeda48eb54abf4ba92f32e6 (patch)
tree66130e682ccf50f83cf35114f3b06b8f2a1728b5
parent971d232e19f13ef6d39a6713a9ec9da20d359545 (diff)
downloadmeta-freescale-b931275b64cff991beeda48eb54abf4ba92f32e6.tar.gz
meta-freescale-b931275b64cff991beeda48eb54abf4ba92f32e6.tar.bz2
meta-freescale-b931275b64cff991beeda48eb54abf4ba92f32e6.zip
skmm-ep: add ARCH in EXTRA_OEMAKE
ARCH is needed for all tasks, for example, make clean Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-extended/skmm-ep/skmm-ep_git.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb
index 79ef450c..13d4c08a 100644
--- a/recipes-extended/skmm-ep/skmm-ep_git.bb
+++ b/recipes-extended/skmm-ep/skmm-ep_git.bb
@@ -15,18 +15,17 @@ SRCREV = "27156a6621c8f6d7f98210b1ca5cd97bde926875"
S = "${WORKDIR}/git"
-EXTRA_OEMAKE = 'MACHINE=${MACHINE}'
+EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE}'
export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`"
export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`"
do_compile () {
- export ARCH=${TARGET_ARCH}
oe_runmake
}
do_install () {
- oe_runmake ARCH=${TARGET_ARCH} install DESTDIR=${D}
+ oe_runmake install DESTDIR=${D}
}
COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)"