Changeset 7701


Ignore:
Timestamp:
2007-06-22T06:47:48+02:00 (9 years ago)
Author:
nbd
Message:

do not attempt to compile mac80211 on 2.6.21

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Makefile

    r7696 r7701  
    2727        This package contains the DeviceScape 80211 wireless stack. 
    2828  VERSION:=$(PKG_RELEASE)+$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE) 
    29   FILES:= \ 
     29  ifneq ($(KERNEL_PATCHVER),2.6.21) 
     30   FILES:= \ 
    3031        $(PKG_BUILD_DIR)/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \ 
    3132        $(PKG_BUILD_DIR)/mac80211/rc80211_lowest.$(LINUX_KMOD_SUFFIX) \ 
    3233        $(PKG_BUILD_DIR)/mac80211/rc80211_simple.$(LINUX_KMOD_SUFFIX) \ 
    3334        $(PKG_BUILD_DIR)/wireless/cfg80211.$(LINUX_KMOD_SUFFIX) 
    34   AUTOLOAD:=$(call AutoLoad,20,cfg80211 mac80211 rc80211_lowest rc80211_simple) 
     35   AUTOLOAD:=$(call AutoLoad,20,cfg80211 mac80211 rc80211_lowest rc80211_simple) 
     36  endif 
    3537endef 
    3638 
     
    4951        CONFIG_MAC80211_LEDS=y 
    5052 
    51 define Build/Compile 
     53ifneq ($(KERNEL_PATCHVER),2.6.21) 
     54  define Build/Compile 
    5255        $(MAKE) $(MAKE_OPTS) SUBDIRS="$(PKG_BUILD_DIR)/wireless" modules 
    5356        $(MAKE) $(MAKE_OPTS) SUBDIRS="$(PKG_BUILD_DIR)/mac80211" modules 
    54 endef 
    55  
    56 #define Build/InstallDev 
    57 #       mkdir -p $(STAGING_DIR)/usr/include/madwifi 
    58 #       $(CP) $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr/include/madwifi/ 
    59 #       mkdir -p $(STAGING_DIR)/usr/include/madwifi/net80211 
    60 #       $(CP) $(PKG_BUILD_DIR)/net80211/*.h $(STAGING_DIR)/usr/include/madwifi/net80211/ 
    61 #endef 
    62  
    63 #define Build/UninstallDev 
    64 #       rm -rf  $(STAGING_DIR)/usr/include/madwifi 
    65 #endef 
     57  endef 
     58endif 
    6659 
    6760$(eval $(call KernelPackage,mac80211)) 
Note: See TracChangeset for help on using the changeset viewer.