image.mk: use LINUX_KARCH rather than ARCH for mkits
authorIan Pozella <Ian.Pozella@imgtec.com>
Mon, 26 Sep 2016 14:06:10 +0000 (15:06 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 Jan 2017 13:54:11 +0000 (14:54 +0100)
commit859693509f33a90c3eae29190b6f7b7533a5fff0
tree63bd7ae25041b9819f9359aa88a43d34a1aa6e69
parentf44663c673f5412ce679f3c6e0f1b6b17b6f0c22
image.mk: use LINUX_KARCH rather than ARCH for mkits

The generated 'its' is passed to mkimage which expects linux arch
strings rather than the full arch (e.g. mips not mipsel).

It currently works in some cases where LINUX_KARCH == ARCH but
otherwise you get an unknown arch build error.

Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/image-commands.mk
include/image.mk