diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-08-14 06:55:28 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-08-14 06:55:28 +0000 |
commit | 13e370c2f1885801c0b5f7e1280b3858b43b817b (patch) | |
tree | fa71a525ae8203705152d016124633556c7a968c /target/linux | |
parent | d1a0f8a1428dd6addf29cd25f5692d940c2227a0 (diff) | |
download | upstream-13e370c2f1885801c0b5f7e1280b3858b43b817b.tar.gz upstream-13e370c2f1885801c0b5f7e1280b3858b43b817b.tar.bz2 upstream-13e370c2f1885801c0b5f7e1280b3858b43b817b.zip |
install madwifi headers in staging_dir (needed for hostapd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1658 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/package/madwifi/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/package/madwifi/Makefile b/target/linux/package/madwifi/Makefile index 9f4fbdc31d..df1ae1082d 100644 --- a/target/linux/package/madwifi/Makefile +++ b/target/linux/package/madwifi/Makefile @@ -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 |