3 include $(SRCDIR)/config/aros.cfg
6 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) -I$(GENDIR)/$(MAINDIR)/include \
7 -isystem $(GENINCDIR) $(KERNEL_INCLUDES)
8 USER_CPPFLAGS := -DAROS_ARCHITECTURE="\"$(AROS_TARGET_PLATFORM)\"" \
9 -DHOST_OS_$(ARCH) -DHOST_OS_$(AROS_TARGET_VARIANT)
11 ifneq ("","$(strip $(WARN_ERROR))")
12 CONFIG_CFLAGS := $(subst $(WARN_ERROR),,$(CONFIG_CFLAGS))
15 FUNCS := cause cli issuper kernel_debug maygetchar sti setprotection \
16 obtaininput releaseinput getpagesize allockernelbase
17 FILES := kernel_startup kernel kernel_cpu kernel_intr cpu_$(CPU)
20 mainmmake=kernel-kernel maindir=rom/kernel \
21 arch=unix files="$(FILES) $(FUNCS)" modname=kernel
26 check-kernel-unix : $(TESTS)
29 $(KERNEL_CC) -DTEST $(CFLAGS) $(KERNEL_CFLAGS) $< -o $@