2 include $(TOP)/config/make.cfg
4 FILES := platform_init coldreboot shutdowna
5 # swapcontext() and friends are not implemented on ARM Linux and are totally missing on Android
6 ifneq ($(AROS_TARGET_CPU), arm)
7 ifneq ($(AROS_TARGET_VARIANT), android)
8 USER_CFLAGS := -DHAVE_SWAPCONTEXT
14 USER_CFLAGS += -D_FORTIFY_SOURCE=0
17 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) $(PRIV_EXEC_INCLUDES) \
18 -isystem $(GENINCDIR) $(KERNEL_INCLUDES) \
19 -DHOST_OS_$(ARCH) -DHOST_OS_$(AROS_TARGET_VARIANT)
22 mainmmake=kernel-exec maindir=rom/exec \
23 arch=unix files=$(FILES)
25 #MM kernel-exec-unix: kernel-kernel-includes kernel-hostlib-includes