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>
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)"