aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/uml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/uml/Makefile')
-rw-r--r--target/linux/uml/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile
index ab077036a3..715cdc7071 100644
--- a/target/linux/uml/Makefile
+++ b/target/linux/uml/Makefile
@@ -23,10 +23,16 @@ BOARDNAME:=User Mode Linux
FEATURES:=ext4 audio
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-KERNEL_PATCHVER:=3.18
+KERNEL_PATCHVER:=4.1
include $(INCLUDE_DIR)/target.mk
+define Kernel/Patch
+ mkdir -p $(LINUX_DIR)/arch/um/include/uapi
+ mv $(LINUX_DIR)/arch/um/include/asm $(LINUX_DIR)/arch/um/include/uapi/
+ $(Kernel/Patch/Default)
+endef
+
LINUX_TARGET_CONFIG:=$(CURDIR)/config/$(ARCH)
DEFAULT_PACKAGES += wpad-mini kmod-mac80211-hwsim