X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fhostapd;h=b7283c8ef356ea251632ea3a1a6696f17e7876d0;hb=8074eed711092b90ae279fa968545a27d2655fd6;hp=0ca035c4aade9d9ab7e54f921287347c79277d3f;hpb=eff5c1d30c0a451991478f6732d66fa598c1a170;p=ipfire-2.x.git diff --git a/lfs/hostapd b/lfs/hostapd index 0ca035c4aa..b7283c8ef3 100644 --- a/lfs/hostapd +++ b/lfs/hostapd @@ -82,6 +82,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) -cp /usr/src/linux/include/linux/netfilter/nfnetlink.h /usr/include/linux/netfilter/ -cp /usr/src/linux/include/linux/netfilter/nfnetlink_compat.h /usr/include/linux/netfilter/ cd $(DIR_APP)/hostapd && cp $(DIR_SRC)/config/hostapd/config ./.config +ifeq "$(MACHINE_TYPE)" "arm" + cd $(DIR_APP)/hostapd && sed -e "s/^CONFIG_DRIVER_MADWIFI=y/#&/" -i .config +endif cd $(DIR_APP)/hostapd && sed -e "s@/usr/local@/usr@g" -i Makefile cd $(DIR_APP)/hostapd && make $(MAKETUNING) $(EXTRA_MAKE) cd $(DIR_APP)/hostapd && make install