mac80211: do not export the backports linux/module.h, it breaks out-of-tree driver...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 10 Dec 2014 21:17:05 +0000 (21:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 10 Dec 2014 21:17:05 +0000 (21:17 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43609

package/kernel/mac80211/Makefile

index 007eb75833189447e28149177d5659c94a94b181..5fa5b8f94bf478cd23e4ae44f9b3217eefbe4ac3 100644 (file)
@@ -1710,6 +1710,7 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
        $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
        $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
+       rm -f $(1)/usr/include/mac80211-backport/linux/module.h
 endef
 
 define KernelPackage/libertas-usb/install