Home | History | Annotate | Line # | Download | only in rump
README.compileopts revision 1.1
      1  1.1  pooka 	$NetBSD: README.compileopts,v 1.1 2014/03/16 14:33:22 pooka Exp $
      2  1.1  pooka 
      3  1.1  pooka This file describes compile-time options for rump kernels.  Additionally,
      4  1.1  pooka NetBSD build options will have an effect.  See src/share/mk/bsd.README
      5  1.1  pooka for a desciption of NetBSD build options.
      6  1.1  pooka 
      7  1.1  pooka 
      8  1.1  pooka     RUMP_DIAGNOSTIC
      9  1.1  pooka 
     10  1.1  pooka values:	yes|no
     11  1.1  pooka defval:	yes
     12  1.1  pooka effect:	Iff "yes", build with -DDIAGNOSTIC.
     13  1.1  pooka 
     14  1.1  pooka 
     15  1.1  pooka     RUMP_DEBUG
     16  1.1  pooka 
     17  1.1  pooka values:	defined / not defined
     18  1.1  pooka effect:	Iff defined, build with -DDEBUG.
     19  1.1  pooka 
     20  1.1  pooka 
     21  1.1  pooka     RUMP_LOCKDEBUG
     22  1.1  pooka 
     23  1.1  pooka values:	defined / not defined
     24  1.1  pooka effect:	Iff defined, build with -DLOCKDEBUG.
     25  1.1  pooka 
     26  1.1  pooka 
     27  1.1  pooka     RUMP_KTRACE
     28  1.1  pooka 
     29  1.1  pooka values:	yes|no
     30  1.1  pooka defval:	yes
     31  1.1  pooka effect:	Iff "yes", build with -DKTRACE.
     32  1.1  pooka 
     33  1.1  pooka 
     34  1.1  pooka     RUMP_LOCKS_UP
     35  1.1  pooka 
     36  1.1  pooka values: yes|no
     37  1.1  pooka defval:	no
     38  1.1  pooka effect: If "yes", build rump kernel with uniprocess-optimized locking.
     39  1.1  pooka 	An implication of this is that RUMP_NCPU==1 is required at
     40  1.1  pooka 	runtime.  If "no", build with multiprocessor-capable locking.
     41  1.1  pooka 
     42  1.1  pooka 
     43  1.1  pooka     RUMP_UNREAL_ALLOCATORS
     44  1.1  pooka 
     45  1.1  pooka values: yes|no
     46  1.1  pooka defval:	no
     47  1.1  pooka effect: If "yes", build version of kmem_alloc, pool and pool_cache
     48  1.1  pooka 	that directly relegate allocation to a hypercall.  If "no",
     49  1.1  pooka 	build the regular NetBSD memory allocators which use
     50  1.1  pooka 	page-sized memory allocation hypercalls.
     51  1.1  pooka 
     52  1.1  pooka 
     53  1.1  pooka     RUMP_VIRTIF
     54  1.1  pooka 
     55  1.1  pooka values:	yes|no
     56  1.1  pooka defval:	yes
     57  1.1  pooka effect:	Iff "yes", build the virt(4) network interface.  Turning this
     58  1.1  pooka 	off may be necessary on systems that lack the necessary headers,
     59  1.1  pooka 	e.g. musl libc based Linux.
     60  1.1  pooka 
     61  1.1  pooka 
     62  1.1  pooka ================================================================================
     63  1.1  pooka 
     64  1.1  pooka 
     65  1.1  pooka The rest of the options described in this file are not intended to be
     66  1.1  pooka set by users, but by the package building rump kernels.
     67  1.1  pooka 
     68  1.1  pooka 
     69  1.1  pooka     RUMP_KERNEL_IS_LIBC
     70  1.1  pooka 
     71  1.1  pooka values:	defined / not defined
     72  1.1  pooka effect: Iff defined, export normal system call symbols from libc.
     73  1.1  pooka 	For example, without this option rump_sys_open() is exported.
     74  1.1  pooka 	With this option, both open() and rump_sys_open() are exported.
     75  1.1  pooka 	This option is meant for building systems where a rump kernel
     76  1.1  pooka 	is the only operating system like component.
     77  1.1  pooka 
     78  1.1  pooka 
     79  1.1  pooka     RUMP_LDSCRIPT
     80  1.1  pooka 
     81  1.1  pooka values: no/GNU/sun
     82  1.1  pooka defval: GNU
     83  1.1  pooka effect: Select the linker script to be used for linking rump kernel shared
     84  1.1  pooka 	library components.
     85  1.1  pooka 	no  - do not use a linker script
     86  1.1  pooka 	GNU - use a linker script for GNU ld 2.18 and later
     87  1.1  pooka 	sun - use a linker script for the Solaris linker
     88