[openbeos] Re: Jamfiles howto
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Fri, 29 Jun 2007 19:55:32 +0200 CEST
"Salvatore Benedetto" <emitrax@xxxxxxxxx> wrote:
> Besides, once the Jamfile is done, how am I supposed to compile the
> code?
> I know that in order to load the driver, I only need to place the
> binary in
> a certain directory.
You would need to add it to your build/jam/UserBuildConfig file - there
is an example in .sample that does that there for crashing_app.
A driver has to be in either /boot/home/config/add-ons/kernel/drivers/
bin or /boot/beos/system/add-ons/kernel/drivers/bin. Additionally,
you'll have to add a symlink (also in the crashing_app example) to it
that determines its interface, in this case in ../dev/video.
Note, the driver will only be used if there is a userland app that uses
it. In your case, this would probably be some kind of media node that
looks for this driver, and supports its interface (at least there is no
common default interface here, AFAICT).
Also, if you have troubles creating a Jamfile, putting the code into
the repository and let someone else do the work for you is also an
option :-)
Bye,
Axel.
- References:
- [openbeos] Re: Jamfiles howto
- From: Salvatore Benedetto
Other related posts:
- » [openbeos] Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- » [openbeos] Re: Jamfiles howto
- [openbeos] Re: Jamfiles howto
- From: Salvatore Benedetto