summaryrefslogtreecommitdiff
path: root/target/linux/uml/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-27 17:29:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-27 17:29:38 +0000
commit110a74dd71eaab04865568ee293f98db4fea7e08 (patch)
treeebb5af2b34fc86fa6d58f41ec6e027d5f1fd5ff8 /target/linux/uml/Makefile
parent439669b49c78811ff8fbe5016a229e0e2c068435 (diff)
downloadmtk-20170518-110a74dd71eaab04865568ee293f98db4fea7e08.zip
mtk-20170518-110a74dd71eaab04865568ee293f98db4fea7e08.tar.gz
mtk-20170518-110a74dd71eaab04865568ee293f98db4fea7e08.tar.bz2
uml: update to linux 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47061
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 ab07703..715cdc7 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