From: Ting Liu <[email protected]>

ARCH is needed for all tasks, for example, make clean

Signed-off-by: Ting Liu <[email protected]>
---
 recipes-extended/skmm-ep/skmm-ep_git.bb | 5 ++---
 1 file 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 9446a74..24e64c8 100644
--- a/recipes-extended/skmm-ep/skmm-ep_git.bb
+++ b/recipes-extended/skmm-ep/skmm-ep_git.bb
@@ -17,16 +17,15 @@ COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)"
 
 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}
 }
-- 
1.9.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to