1 # Comment/uncomment the following line to enable/disable debugging
3 WFLAGS
:= -Wall
-Wstrict-prototypes
-Wno-trigraphs
8 rt2500-objs
:= rtmp_main.o mlme.o connect.o sync.o assoc.o \
9 auth.o auth_rsp.o rtmp_data.o rtmp_init.o sanity.o \
10 rtmp_wep.o rtmp_info.o eeprom.o rtmp_tkip.o wpa.o md5.o
13 rm -f
*.o
*~ .
*.cmd
*.ko
*.mod.c
16 #mkdir -p $(TARGET_MODDIR)
18 install $(DRIVERPATH
) $(TARGET_MODDIR
)
20 @if
[ ! -f
/etc
/sysconfig
/network-scripts
/ifcfg-ra0
]; then \
21 echo
"Create 'ifcfg-ra0' in /etc/sysconfig/network-scripts/"; \
22 cp ifcfg-ra0
/etc
/sysconfig
/network-scripts
/ ; \
24 @if
[ -d
/etc
/sysconfig
/network
]; then \
25 echo
"Create 'ifcfg-ra0' in /etc/sysconfig/network/"; \
26 cp .
/suse
/ifcfg-ra0
/etc
/sysconfig
/network
/ ; \
29 @if
! grep
'ra0' $(PROBEPATH
) ; then \
30 echo
"alias ra0 rt2500" >> $(PROBEPATH
) ; \
37 #make command : make -C path/to/src SUBDIRS=$PWD modules
38 #example : make -C /usr/src/linux-2.6.3-4mdk SUBDIRS=$PWD modules