Re: How to use the autoconf(9) interface alongside the module(9) one? (was: "How to compile a modified example kernel module")

2016-03-24 Thread Judas Iscariot
Well, now I can build one module or two alone, or any NetBSD subtree for that matter. I even inserted the example of before in the tree and it is now working. My thanks to Paul for letting me know about TOOLDIR/bin/nbmake-MACHINE. However, I'm still wondering whether it is possible to work on a mo

Re: How to use the autoconf(9) interface alongside the module(9) one? (was: "How to compile a modified example kernel module")

2016-03-22 Thread Paul Goyette
On Wed, 23 Mar 2016, Judas Iscariot wrote: For reference here is what module(7) says about building all modules : The common build tool of NetBSD, ``build.sh'', automatically compiles and installs all modules during a full system build and install. However, sometimes it is useful to upd

Re: How to use the autoconf(9) interface alongside the module(9) one? (was: "How to compile a modified example kernel module")

2016-03-22 Thread Judas Iscariot
> You should look at -current or -7. > > Of of the first modules you'll find that uses PCI is azalia: > > http://nxr.netbsd.org/xref/src/sys/modules/azalia/azalia.ioconf > > Martin > I thank you Martin for the fast response. I tried using NetBSD-7 but the installer was not detecting my hard d

Re: How to use the autoconf(9) interface alongside the module(9) one? (was: "How to compile a modified example kernel module")

2016-03-22 Thread Judas Iscariot
> Hi, > on NetBSD 6.1.5, I am failing to compile a modified version of the example > found in > /usr/src/sys/module/example/ > > I tried to mimic the modules found in /usr/src/sys/module/ > but nothing is compiling. > > How I am doing things: > === > Test the original example by

Re: How to use the autoconf(9) interface alongside the module(9) one? (was: "How to compile a modified example kernel module")

2016-03-22 Thread Martin Husemann
You should look at -current or -7. Of of the first modules you'll find that uses PCI is azalia: http://nxr.netbsd.org/xref/src/sys/modules/azalia/azalia.ioconf Martin