mac80211: export a few ath header files
authorFelix Fietkau <nbd@openwrt.org>
Thu, 7 Jan 2010 21:59:51 +0000 (21:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 7 Jan 2010 21:59:51 +0000 (21:59 +0000)
SVN-Revision: 19065

package/mac80211/Makefile

index 9d57673820a0ecdc060fc6eed8801caa31f16879..652603af650a15fc8307d1e40626433772822390 100644 (file)
@@ -620,9 +620,13 @@ define Build/Compile
 endef
 
 define Build/InstallDev
-       mkdir -p $(1)/usr/include/mac80211 $(1)/usr/include/net/mac80211
+       mkdir -p \
+               $(1)/usr/include/mac80211 \
+               $(1)/usr/include/mac80211/ath \
+               $(1)/usr/include/net/mac80211
        $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
        $(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/
 endef
 
 define KernelPackage/libertas/install