3 include $(SRCDIR)/config/aros.cfg
5 FILES := platform_init coldreboot shutdowna
7 # swapcontext() and friends are not implemented on ARM Linux and are totally missing on Android
8 ifneq ($(AROS_TARGET_CPU), arm)
9 ifneq ($(AROS_TARGET_VARIANT), android)
10 USER_CFLAGS := -DHAVE_SWAPCONTEXT
16 USER_CFLAGS += -D_FORTIFY_SOURCE=0
19 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) $(PRIV_EXEC_INCLUDES) \
20 -isystem $(GENINCDIR) $(KERNEL_INCLUDES) \
23 ifneq ($(AROS_TARGET_VARIANT),)
24 USER_INCLUDES := -DHOST_OS_$(AROS_TARGET_VARIANT)
28 mainmmake=kernel-exec maindir=rom/exec \
29 arch=unix files=$(FILES)
31 #MM kernel-exec-unix: kernel-kernel-includes kernel-hostlib-includes