summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/kernel-headers/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 9427f82c7..a74a6c234 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -31,6 +31,10 @@ ifeq ($(strip $(BOARD)),uml)
LINUX_KARCH:=$(subst x86_64,x86,$(subst i386,x86,$(ARCH)))
endif
+ifeq ($(CONFIG_TARGET_realtek),y)
+LINUX_KARCH:=$(subst lexra,mips,$(ARCH))
+endif
+
HOST_EXTRACFLAGS=
LINUX_HAS_HEADERS_INSTALL:=y