mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
38abfc79f5
* integrate rump's contrib code into Genode's build system and build what is required by Genode, only * checkout needed NetBSD sources directly from CVS fixes #2589
27 lines
978 B
Makefile
27 lines
978 B
Makefile
RUMP_PORT_DIR := $(call select_from_ports,dde_rump)/src/lib/dde_rump
|
|
RUMP_BASE := $(BUILD_BASE_DIR)/var/libcache/rump
|
|
|
|
CC_C_OPT += -D__NetBSD__ -D'CTASSERT(x)=' -DMAXPHYS=32768 -D_RUMP_NATIVE_ABI \
|
|
-DMAXUSERS=32 -DCOMPAT_50=1 -DCOMPAT_60=1 -DDIAGNOSTIC -DKTRACE \
|
|
-DRUMP_KERNEL_IS_LIBC -D_RUMPKERNEL -D_KERNEL -DMULTIPROCESSOR \
|
|
-D_MODULE -DMODULAR -DRUMP_USE_CTOR
|
|
|
|
#
|
|
# silence contrib code
|
|
#
|
|
CC_C_OPT += -fno-builtin-printf -fno-builtin-vprintf -fno-builtin-log \
|
|
-fno-builtin-putchar
|
|
CC_C_OPT += -Wno-pointer-sign -Wno-unused-but-set-variable \
|
|
-Wno-unused-variable -Wno-format-zero-length \
|
|
-Wno-nonnull-compare -Wno-misleading-indentation \
|
|
-Wno-format -Wno-incompatible-pointer-types
|
|
|
|
#
|
|
# rump.ld is an additional linker script which is required during
|
|
# initialization
|
|
#
|
|
LD_SCRIPT_SO = $(BASE_DIR)/src/ld/genode_rel.ld \
|
|
-T$(REP_DIR)/src/ld/rump.ld
|
|
|
|
# vi:set ft=make :
|