kernel: MPLS did not exist prior to v4.4
[openwrt.git] / package / kernel / linux / modules / netsupport.mk
index 8a923ed..02db800 100644 (file)
@@ -1005,6 +1005,7 @@ $(eval $(call KernelPackage,rxrpc))
 define KernelPackage/mpls
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=MPLS support
+  DEPENDS:=@!(LINUX_3_18||LINUX_4_1||LINUX_4_3)
   KCONFIG:= \
        CONFIG_MPLS=y \
        CONFIG_LWTUNNEL=y \