[Prism54-users] Makefile adjustment
   
    Herbert Valerio Riedel
     
    hvr@hvrlab.org
       
    Wed, 5 Nov 2003 07:35:25 +0100
    
    
  
On Wed, Nov 05, 2003 at 01:37:13AM +0000, matt.carnegie wrote:
> I'm having a little trouble with adjusting the Makefile to fit, largley 
> because I can't make out what the following line is doing:
> 
>  := $(shell echo $(KVER) | sed -ne 's/^2\.[567]\..*/k/p')o
well this does yield 'ko' when the pattern matches the version
"2.[567].*", otherwise it yields 'o'; KEXT is the extension used by
kernels (in 2.6 modules are named '.ko')
> Clearly, KEXT is used to place prism54.o somewhere in 
> usr/src/linux/drivers/net/wireless with this line
that's incorrect
 
> install -c ksrc/prism54.$(KEXT) $(KMISC)
this should copy the prism54 module into some
/lib/modules/$(KVER)/misc folder...
regards,
-- 
Herbert Valerio Riedel       /    Phone: (EUROPE) +43-1-58801-18840
Email: hvr@hvrlab.org       /    Finger hvr@gnu.org for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748  5F65 4981 E064 883F 4142