diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-12-22 16:57:05 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2015-12-28 11:01:00 +0800 |
commit | 6f8a4a8a2da156ebea842cdf79e862c90c138ed5 (patch) | |
tree | 24345fd544cb64e82a9869906a631addab74c531 /recipes-extended/skmm-ep | |
parent | 3e090b9330cf49246cd69f6161ee39e1c1e41ba3 (diff) | |
download | meta-fsl-ppc-6f8a4a8a2da156ebea842cdf79e862c90c138ed5.tar.gz |
skmm-ep: add ARCH in EXTRA_OEMAKE
ARCH is needed for all tasks, for example, make clean
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Diffstat (limited to 'recipes-extended/skmm-ep')
-rw-r--r-- | recipes-extended/skmm-ep/skmm-ep_git.bb | 5 |
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 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)" | |||
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | 19 | ||
20 | EXTRA_OEMAKE = 'MACHINE=${MACHINE}' | 20 | EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE}' |
21 | 21 | ||
22 | export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`" | 22 | export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`" |
23 | export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`" | 23 | export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`" |
24 | 24 | ||
25 | do_compile () { | 25 | do_compile () { |
26 | export ARCH=${TARGET_ARCH} | ||
27 | oe_runmake | 26 | oe_runmake |
28 | } | 27 | } |
29 | 28 | ||
30 | do_install () { | 29 | do_install () { |
31 | oe_runmake ARCH=${TARGET_ARCH} install DESTDIR=${D} | 30 | oe_runmake install DESTDIR=${D} |
32 | } | 31 | } |