README.compileopts revision 1.1
11.1Spooka $NetBSD: README.compileopts,v 1.1 2014/03/16 14:33:22 pooka Exp $ 21.1Spooka 31.1SpookaThis file describes compile-time options for rump kernels. Additionally, 41.1SpookaNetBSD build options will have an effect. See src/share/mk/bsd.README 51.1Spookafor a desciption of NetBSD build options. 61.1Spooka 71.1Spooka 81.1Spooka RUMP_DIAGNOSTIC 91.1Spooka 101.1Spookavalues: yes|no 111.1Spookadefval: yes 121.1Spookaeffect: Iff "yes", build with -DDIAGNOSTIC. 131.1Spooka 141.1Spooka 151.1Spooka RUMP_DEBUG 161.1Spooka 171.1Spookavalues: defined / not defined 181.1Spookaeffect: Iff defined, build with -DDEBUG. 191.1Spooka 201.1Spooka 211.1Spooka RUMP_LOCKDEBUG 221.1Spooka 231.1Spookavalues: defined / not defined 241.1Spookaeffect: Iff defined, build with -DLOCKDEBUG. 251.1Spooka 261.1Spooka 271.1Spooka RUMP_KTRACE 281.1Spooka 291.1Spookavalues: yes|no 301.1Spookadefval: yes 311.1Spookaeffect: Iff "yes", build with -DKTRACE. 321.1Spooka 331.1Spooka 341.1Spooka RUMP_LOCKS_UP 351.1Spooka 361.1Spookavalues: yes|no 371.1Spookadefval: no 381.1Spookaeffect: If "yes", build rump kernel with uniprocess-optimized locking. 391.1Spooka An implication of this is that RUMP_NCPU==1 is required at 401.1Spooka runtime. If "no", build with multiprocessor-capable locking. 411.1Spooka 421.1Spooka 431.1Spooka RUMP_UNREAL_ALLOCATORS 441.1Spooka 451.1Spookavalues: yes|no 461.1Spookadefval: no 471.1Spookaeffect: If "yes", build version of kmem_alloc, pool and pool_cache 481.1Spooka that directly relegate allocation to a hypercall. If "no", 491.1Spooka build the regular NetBSD memory allocators which use 501.1Spooka page-sized memory allocation hypercalls. 511.1Spooka 521.1Spooka 531.1Spooka RUMP_VIRTIF 541.1Spooka 551.1Spookavalues: yes|no 561.1Spookadefval: yes 571.1Spookaeffect: Iff "yes", build the virt(4) network interface. Turning this 581.1Spooka off may be necessary on systems that lack the necessary headers, 591.1Spooka e.g. musl libc based Linux. 601.1Spooka 611.1Spooka 621.1Spooka================================================================================ 631.1Spooka 641.1Spooka 651.1SpookaThe rest of the options described in this file are not intended to be 661.1Spookaset by users, but by the package building rump kernels. 671.1Spooka 681.1Spooka 691.1Spooka RUMP_KERNEL_IS_LIBC 701.1Spooka 711.1Spookavalues: defined / not defined 721.1Spookaeffect: Iff defined, export normal system call symbols from libc. 731.1Spooka For example, without this option rump_sys_open() is exported. 741.1Spooka With this option, both open() and rump_sys_open() are exported. 751.1Spooka This option is meant for building systems where a rump kernel 761.1Spooka is the only operating system like component. 771.1Spooka 781.1Spooka 791.1Spooka RUMP_LDSCRIPT 801.1Spooka 811.1Spookavalues: no/GNU/sun 821.1Spookadefval: GNU 831.1Spookaeffect: Select the linker script to be used for linking rump kernel shared 841.1Spooka library components. 851.1Spooka no - do not use a linker script 861.1Spooka GNU - use a linker script for GNU ld 2.18 and later 871.1Spooka sun - use a linker script for the Solaris linker 88