From: Felix Fietkau Date: Wed, 10 Dec 2014 21:17:05 +0000 (+0000) Subject: mac80211: do not export the backports linux/module.h, it breaks out-of-tree driver... X-Git-Tag: reboot~5026 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9144cc5c2d1776ef9c5ce720ba41edd074bf2fa3;p=openwrt%2Fopenwrt.git mac80211: do not export the backports linux/module.h, it breaks out-of-tree driver builds Signed-off-by: Felix Fietkau SVN-Revision: 43609 --- diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 007eb75833..5fa5b8f94b 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -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