tag 328226 patch
thanks

The attached patch does the trick.

Cheers

Mike
diff -ruN ipw2100-1.1.2/Makefile ipw2100-1.1.2.new/Makefile
--- ipw2100-1.1.2/Makefile      2005-09-20 21:10:53.189138384 +0200
+++ ipw2100-1.1.2.new/Makefile  2005-09-20 21:10:19.977187368 +0200
@@ -37,7 +37,6 @@
 else
        IEEE80211_MODVERDIR=$(IEEE80211_INC)
 endif
-EXTRA_CFLAGS += -I$(IEEE80211_INC)
 
 ifeq ($(CONFIG_IPW_DEBUG),y)
        EXTRA_CFLAGS += -g -Wa,[EMAIL PROTECTED]
@@ -146,11 +145,11 @@
 ifdef ($(KSRC)/.tmp_versions)
        -cp $(KSRC)/.tmp_versions/*.mod $(MODVERDIR)
 endif
-       $(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR) modules
+       $(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR) CC="gcc 
-I$(IEEE80211_INC)" modules
 else # We've got a kernel with seperate output, copy the config, and use O=
        mkdir -p $(TMP)
        cp $(KSRC_OUTPUT)/.config $(TMP)
-       $(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR)) O=$(PWD)/tmp modules
+       $(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR)) O=$(PWD)/tmp 
CC="gcc -I$(IEEE80211_INC)" modules
 endif
 
 install: modules

Reply via email to