From c3a0102195a2902f1964b667fb86031308c78f9d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 29 Sep 2018 17:45:54 +0200 Subject: [PATCH] build: fix kernel headers install for uml The kernel headers makefile needs to override LINUX_KARCH Signed-off-by: Felix Fietkau --- include/kernel.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" \