Subject: Re: ifdefs in syscalls.master
To: netbsd <netbsd@osam.com>
From: Tobias Nygren <tnn+nbsd@nygren.pp.se>
List: netbsd-help
Date: 11/10/2006 20:20:58
netbsd wrote:
> hello.
>
> i'm new to NetBSD, and am taking a look at the sources, with
> particular interest in syscalls.
>
> i found the file syscalls.master. it has a number of ifdefs, such as:
> #ifdef COMPAT_43
> #if defined(KTRACE) || !defined(_KERNEL)
> #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
> ..
> how do i find out what the settings are for a "standard" build? i am
> in particular interested in the settings for an ARM build.
>
> thanks!
>
> - sam -
The major options like COMPAT_*, NFSSERVER, KTRACE
are defined (or commented out) in the kernel configuration file,
/usr/src/sys/arch/*/conf/GENERIC.
Hope this helps,
-Tobias