Re: driver source compilation question

2006-08-27 Thread Jim Stapleton
I found something I can use, but I have some errors, I've no clue how to deal with: Makefile: .PATH: /usr/src/sys/dev/sound/pci;. KMOD= snd_hdac SRCS= device_if.h bus_if.h isa_if.h pci_if.h mixer_if.h SRCS

driver source compilation question

2006-08-25 Thread Jim Stapleton
I've found some driver source, it's just got the .c and .h files for the drivers, and no makefile. make and make install do nothing (I've extracted them to a folder in my home directory). How do I install them? Thanks, -Jim Stapleton ___

Re: driver source compilation question

2006-08-25 Thread Derek Ragona
The simplest thing is to copy a make file from a port, or other driver source directory and edit it for your driver. -Derek At 08:20 PM 8/25/2006, Jim Stapleton wrote: I've found some driver source, it's just got the .c and .h files for the drivers, and no makefile. make and make

Re: driver source compilation question

2006-08-25 Thread Jim Stapleton
In my case, I'm trying to compile the HDA audio driver for an Intel HDA sound card, I checked this driver makefile here: /usr/ports/audio/aureal-kmod/Makefile but I've no clue where to start, there's a lot of stuff in there. I'll look again in the morning, but any suggestions on an easier