Changed the prism2[sta|ap] symlink to be an alias in conf.modules instead.

Hopefully this will fix some of the modprobe problems.
This commit is contained in:
mark 2001-03-11 01:05:55 +00:00
parent 1fd4643be3
commit a90403984e
1 changed files with 5 additions and 5 deletions

View File

@ -159,11 +159,11 @@ $(AP_CS_MODULE) : $(AP_CS_OBJ)
install : $(MODULES)
mkdir -p $(TARGET_MODDIR)/pcmcia
cp $(MODULES) $(TARGET_MODDIR)/pcmcia
ifeq ($(WLAN_INSTALL_TYPE), ap)
ln -sf $(MODDIR)/pcmcia/$(AP_CS_MODULE) $(TARGET_MODDIR)/pcmcia/prism2_cs.o
else
ln -sf $(MODDIR)/pcmcia/$(STA_CS_MODULE) $(TARGET_MODDIR)/pcmcia/prism2_cs.o
endif
mv $(TARGET_ROOT_ON_HOST)/etc/conf.modules \
$(TARGET_ROOT_ON_HOST)/etc/conf.modules.wlansave
grep -v prism2 $(TARGET_ROOT_ON_HOST)/etc/conf.modules.wlansave \
> $(TARGET_ROOT_ON_HOST)/etc/conf.modules
echo alias prism2_cs prism2$(WLAN_INSTALL_TYPE)_cs >> $(TARGET_ROOT_ON_HOST)/etc/conf.modules
clean:
rm -f .depend.sta_cs .depend.ap_cs