]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/wpa_supplicant
kernel: use 3.2.x as default kernel.
[ipfire-2.x.git] / lfs / wpa_supplicant
index 22c61da0417dd5e7c7dfd4f2e5d658c4163f3a37..177caf9e8bf964aa0448b576968dc0539f8e417a 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.6.9
+VER        = 0.7.3
 
 THISAPP    = wpa_supplicant-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -41,7 +41,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 0efb8fcedf0a8acf6f423dfdb0658fdd
+$(DL_FILE)_MD5 = f516f191384a9a546e3f5145c08addda
 
 install : $(TARGET)
 
@@ -75,8 +75,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP)/wpa_supplicant && cp $(DIR_SRC)/config/wpa_supplicant/config ./.config
+ifeq "$(MACHINE_TYPE)" "arm"
+       cd $(DIR_APP)/wpa_supplicant && sed -e "s/^CONFIG_DRIVER_MADWIFI=y/#&/" -i .config
+endif
        cd $(DIR_APP)/wpa_supplicant && sed -e "s/wpa_cli\ dynamic_eap_methods/wpa_cli\ #dynamic_eap_methods/" -i Makefile
        cd $(DIR_APP)/wpa_supplicant && sed -e "s@/usr/local@/usr@g" -i Makefile
-       cd $(DIR_APP)/wpa_supplicant && CFLAGS+=-I/usr/src/linux/include make && make install
+       cd $(DIR_APP)/wpa_supplicant && make && make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)