3 TMP=tmp.compile_wireless_versions
6 cvs export -D now -d $TMP hostap
7 pushd $TMP/driver/modules
8 for f in hostap_hw hostap_cs hostap_pci hostap_plx; do
11 sed "s%^#include <linux/wireless.h>%#include "\"wireless-test.h\""%" |
12 sed "s%^#include <net/iw_handler.h>%#include "\"iw_handler-test.h\""%" \
20 for i in ../wireless/wireless-*.h; do
22 ver=`echo $i | sed "s%.*wireless-\([0-9]*\).*%\1%"`
23 cp $i driver/modules/wireless-test.h
26 cp ../wireless/iw_handler-2.h driver/modules/iw_handler-test.h
29 cp ../wireless/iw_handler-3.h driver/modules/iw_handler-test.h
32 rm -f driver/modules/iw_handler-test.h
35 make clean > /dev/null
36 if ! make pccard pci plx > log.$ver 2>&1; then
37 echo "Errors while compiling version $ver"