If not passed then it computes arch from `uname` and uname will be wrong on cross compiles when target != host Signed-off-by: Khem Raj <raj.khem@gmail.com>
@@ -17,6 +17,7 @@ EXTRA_OEMAKE = " \
SYSTEMDDIR=${D}${systemd_system_unitdir} \
UPSTARTDIR=${D}${sysconfdir}/init \
DESTDIR=${D} \
+ ARCH=${TARGET_ARCH} \
BUILDMOD=no \
CC='${CC}' \
"