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 | 766a4db1260ec702e18fe6889c326810682531d8 (patch) | |
tree | 37b8c50e72bafc9313f14656dc4c77ed7f89e424 /openwrt/target/linux/package/madwifi/Makefile | |
parent | af9c0143db0172d10cf1b748c13541bc5902c22b (diff) | |
download | mtk-20170518-766a4db1260ec702e18fe6889c326810682531d8.zip mtk-20170518-766a4db1260ec702e18fe6889c326810682531d8.tar.gz mtk-20170518-766a4db1260ec702e18fe6889c326810682531d8.tar.bz2 |
install madwifi headers in staging_dir (needed for hostapd)
SVN-Revision: 1658
Diffstat (limited to 'openwrt/target/linux/package/madwifi/Makefile')
-rw-r--r-- | openwrt/target/linux/package/madwifi/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/madwifi/Makefile b/openwrt/target/linux/package/madwifi/Makefile index 9f4fbdc..df1ae10 100644 --- a/openwrt/target/linux/package/madwifi/Makefile +++ b/openwrt/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 |