1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 04:49:42 +02:00

prevent mac80211 from accidentally starting to build on older kernel versions because of dependencies (#2718)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9578 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-11-17 15:54:53 +00:00
parent 5f964e1153
commit d1a3c36810

View File

@ -57,6 +57,7 @@ define Build/Compile
$(MAKE) -C "$(LINUX_DIR)" $(MAKE_OPTS) SUBDIRS="$(PKG_BUILD_DIR)/net/mac80211" modules
endef
ifeq ($(CONFIG_LINUX_2_6_23),y)
define Build/InstallDev
mkdir -p $(1)/usr/include/mac80211
$(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
@ -70,5 +71,6 @@ define KernelPackage/mac80211/install
$(INSTALL_DIR) $(1)/lib/wifi
$(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
endef
endif
$(eval $(call KernelPackage,mac80211))