1 # Comment/uncomment the following line to enable/disable debugging
\r
8 WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs
\r
9 CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS) -DRT2500_DBG -DBIG_ENDIAN -DLinux -DRALINK_ATE
\r
11 #CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS)
\r
18 rt2500.o: rtmp_main.o mlme.o connect.o sync.o assoc.o auth.o auth_rsp.o rtmp_data.o rtmp_init.o sanity.o rtmp_wep.o rtmp_info.o eeprom.o rtmp_tkip.o wpa.o md5.o
\r
26 #mkdir -p $(TARGET_MODDIR)
\r
27 echo $(TARGET_MODDIR)
\r
28 install $(DRIVERPATH) $(TARGET_MODDIR)
\r
30 @if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ra0 ]; then \
\r
31 echo "Create 'ifcfg-ra0' in /etc/sysconfig/network-scripts/"; \
\r
32 cp ifcfg-ra0 /etc/sysconfig/network-scripts/ ; \
\r
34 @if [ -d /etc/sysconfig/network ]; then \
\r
35 echo "Create 'ifcfg-ra0' in /etc/sysconfig/network/"; \
\r
36 cp ./suse/ifcfg-ra0 /etc/sysconfig/network/ ; \
\r
38 @if ! grep 'ra0' $(PROBEPATH) ; then \
\r
39 echo "alias ra0 rt2500" >> $(PROBEPATH) ; \
\r