I used the opportunity that linux-source-2.6.15-8 had entered testing to 
try another approach in compiling bcm43xx-source. This time I installed 
linux-headers-2.6.15 together with ieee80211softmac-headers in 
/usr/src/linux-headers-2.6.15/.

Then I tried "make-kpkg --rootcmd fakeroot --added_modules bcm43xx 
modules-image" from my kernel-source-tree. This failed because 
ieee80211softmac.h was not found. I saw that the variable 
SOFTMAC_DIR=/usr/src/linux-headers-2.6.15/include  was given to the 
make-command but I could not see where it would be evaluated.

After applying this patch 

--- rules.orig  2006-02-21 19:36:45.000000000 +0100
+++ rules       2006-03-18 19:14:19.000000000 +0100
@@ -128,10 +128,11 @@
        dh_installdirs
 
 ifeq "$(wildcard $(KSRC)/include/net/ieee80211softmac.h)" ""
-       $(MAKE) SOFTMAC_DIR=/usr/src/linux-headers-$(KVERS)/include 
KDIR=$(KSRC) KVER=$(KVERS)
+       SOFTMAC_DIR=/usr/src/linux-headers-$(KVERS)/include
 else
-       $(MAKE) SOFTMAC_DIR=$(KSRC)/include KDIR=$(KSRC) KVER=$(KVERS)
+       SOFTMAC_DIR=$(KDIR)/include
 endif  
+       $(MAKE) -I $(SOFTMAC_DIR) KDIR=$(KSRC) KVER=$(KVERS)
        # Install the module
        mkdir -p 
debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/kernel/drivers/net/bcm43xx
        cp drivers/net/wireless/bcm43xx/$(sname).ko 
debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/kernel/drivers/net/bcm43xx

to /usr/src/modules/bcm43xx/debian/rules the compilation went fine using 
make-kpkg as above-mentioned.

  Ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to