diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 344fbd80c5..be26348a13 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -60,7 +60,7 @@ define KernelPackage/mac80211/Default SUBMENU:=$(WMENU) URL:=https://wireless.wiki.kernel.org/ MAINTAINER:=Felix Fietkau - DEPENDS:=@!TARGET_uml @!LINUX_4_1 + DEPENDS:=@!LINUX_4_1 endef define KernelPackage/cfg80211 diff --git a/package/kernel/mac80211/patches/010-fix-uml-build.patch b/package/kernel/mac80211/patches/010-fix-uml-build.patch new file mode 100644 index 0000000000..0d53e0811e --- /dev/null +++ b/package/kernel/mac80211/patches/010-fix-uml-build.patch @@ -0,0 +1,15 @@ +--- a/backport-include/asm/barrier.h ++++ b/backport-include/asm/barrier.h +@@ -1,9 +1,9 @@ +-#ifndef __BACKPORT_ASM_GENERIC_BARRIER_H +-#define __BACKPORT_ASM_GENERIC_BARRIER_H ++#ifndef __BACKPORT_ASM_BARRIER_H ++#define __BACKPORT_ASM_BARRIER_H + #include_next + + #ifndef dma_rmb + #define dma_rmb() rmb() + #endif + +-#endif /* __BACKPORT_ASM_GENERIC_BARRIER_H */ ++#endif /* __BACKPORT_ASM_BARRIER_H */