From: Felix Fietkau Date: Sat, 29 Sep 2018 15:45:54 +0000 (+0200) Subject: build: fix kernel headers install for uml X-Git-Tag: v18.06.2~124 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca05fd5ebf20244d6ace73ebcd976414e7fcb0c4;p=openwrt%2Fopenwrt.git build: fix kernel headers install for uml The kernel headers makefile needs to override LINUX_KARCH Signed-off-by: Felix Fietkau (backported from c3a0102195a2902f1964b667fb86031308c78f9d) --- diff --git a/include/kernel.mk b/include/kernel.mk index c169550f48..97bcfe3f0b 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -97,7 +97,7 @@ endif KERNEL_MAKE = $(MAKE) $(KERNEL_MAKEOPTS) -KERNEL_MAKE_FLAGS := \ +KERNEL_MAKE_FLAGS = \ HOSTCFLAGS="$(HOST_CFLAGS) -Wall -Wmissing-prototypes -Wstrict-prototypes" \ CROSS_COMPILE="$(KERNEL_CROSS)" \ ARCH="$(LINUX_KARCH)" \