Makefile $MODPATH discrepancy
AP-Research
HostAP-Research
Thu Jun 17 20:51:43 PDT 2004
<quote who="AP-Research">
> cardmgr: module /lib/modules/2.6.6-1.435/pcmcia/hostap_cs.o not available
I had to make a few other changes as well to resolve a later assumption
which _installed_ the modules to .../kernel/drivers/kernel/drivers/...
[root at Forensics4g hostap]# diff Makefile.original Makefile
58c58
< MODPATH := $(DESTDIR)/lib/modules/$(KERNELRELEASE)
---
> MODPATH := $(DESTDIR)/lib/modules/$(KERNELRELEASE)/kernel/drivers
143,147c143,147
< @echo "*** Copying modules to:
$(MODPATH)/kernel/drivers/net/wireless"
< mkdir -p $(MODPATH)/kernel/drivers/net/wireless
< cp $(MSRC)/*.ko $(MODPATH)/kernel/drivers/net/wireless
< @if [ -r $(MODPATH)/kernel/drivers/net/wireless/hostap_crypt.ko ];
then \
< echo "You may need to remove old
$(MODPATH)/kernel/drivers/net/wireless/hostap_crypt.ko"; \
---
> @echo "*** Copying modules to: $(MODPATH)/net/wireless"
> mkdir -p $(MODPATH)/net/wireless
> cp $(MSRC)/*.ko $(MODPATH)/net/wireless
> @if [ -r $(MODPATH)/net/wireless/hostap_crypt.ko ]; then \
> echo "You may need to remove old
$(MODPATH)/net/wireless/hostap_crypt.ko"; \
--
Regards
RescuNET.com
More information about the Hostap
mailing list