1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 23:02:04 +02:00

install madwifi headers in staging_dir (needed for hostapd)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1658 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-08-14 06:55:28 +00:00
parent cade7d9b14
commit 1c571f2910

View File

@ -54,3 +54,17 @@ $(IPKG_KMOD_MADWIFI):
$(IDIR_KMOD_MADWIFI)/lib/modules/$(LINUX_VERSION)/
$(IPKG_BUILD) $(IDIR_KMOD_MADWIFI) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/include/madwifi/net80211/ieee80211.h: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include/madwifi
cp -fpR $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr/include/madwifi/
mkdir -p $(STAGING_DIR)/usr/include/madwifi/net80211
cp -fpR $(PKG_BUILD_DIR)/net80211/*.h $(STAGING_DIR)/usr/include/madwifi/net80211/
touch $@
install-dev: $(STAGING_DIR)/usr/include/madwifi/net80211/ieee80211.h
uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/madwifi
compile: install-dev
clean: uninstall-dev