]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/wpa_supplicant
Add compat-wireless, add support of nl80211 wlan drivers
[ipfire-2.x.git] / lfs / wpa_supplicant
index 0825608af97a6e77baa1875eeeb250955077da77..22c61da0417dd5e7c7dfd4f2e5d658c4163f3a37 100644 (file)
@@ -77,6 +77,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP)/wpa_supplicant && cp $(DIR_SRC)/config/wpa_supplicant/config ./.config
        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 && make && make install
+       cd $(DIR_APP)/wpa_supplicant && CFLAGS+=-I/usr/src/linux/include make && make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)