]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/compat-wireless
Update compat-wireless to 2.6.32-rc7 and removed not needed patches.
[people/pmueller/ipfire-2.x.git] / lfs / compat-wireless
index c9e40a5bd74e14c8ac08ab1aeb6c3c04076de5e2..ddf7f95c9234495b89fe8363abbff35742ade59c 100644 (file)
@@ -30,7 +30,7 @@ else
        VERSUFIX=ipfire
 endif
 
-VER        = 2009-03-30
+VER        = 2.6.32-rc7
 
 THISAPP    = compat-wireless-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -46,7 +46,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 88ea3e5b42ef5fbcec8b91043dd3aa76
+$(DL_FILE)_MD5 = c7b9f081895c23841509a363f9ae4da2
 
 install : $(TARGET)
 
@@ -77,15 +77,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xjf $(DIR_DL)/$(DL_FILE)
 
-#      Apply some wlan-card patches
-       cd $(DIR_APP) && cat $(DIR_SRC)/src/patches/compat-wireless_*.patch | patch -Np1
+       cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX) KMODDIR=kernel install-modules
 
-#      Build only the modules
-       cd $(DIR_APP) && sed -i -e "s|install: uninstall modules|install: modules|g" Makefile
-       cd $(DIR_APP) && sed -i -e "s|\t@# All the scripts|\nende:|g" Makefile
-
-       cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX) KMODDIR=kernel install
+       # The makefile put the modules to a wrong place move back...
+       cp -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib /
+       rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib
 
        # Set Regulatory Domain to "EU" (use Channel 1-14 max. 20db)
        echo options cfg80211 ieee80211_regdom=EU > /etc/modprobe.d/cfg80211
+
+       -rm -rf $(DIR_APP)
        @$(POSTBUILD)
+