From 859693509f33a90c3eae29190b6f7b7533a5fff0 Mon Sep 17 00:00:00 2001 From: Ian Pozella Date: Mon, 26 Sep 2016 15:06:10 +0100 Subject: 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 Signed-off-by: Felix Fietkau --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/image.mk') diff --git a/include/image.mk b/include/image.mk index 3daee35..ab5b816 100644 --- a/include/image.mk +++ b/include/image.mk @@ -143,7 +143,7 @@ endef define Image/BuildKernel/MkFIT $(TOPDIR)/scripts/mkits.sh \ -D $(1) -o $(KDIR)/fit-$(1).its -k $(2) $(if $(3),-d $(3)) -C $(4) -a $(5) -e $(6) \ - -A $(ARCH) -v $(LINUX_VERSION) + -A $(LINUX_KARCH) -v $(LINUX_VERSION) PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $(KDIR)/fit-$(1).its $(KDIR)/fit-$(1)$(7).itb endef -- cgit v1.1