mirror of https://github.com/deadw00d/AROS.git
30 lines
910 B
Plaintext
30 lines
910 B
Plaintext
|
|
include $(SRCDIR)/config/aros.cfg
|
|
|
|
FILES := platform_init coldreboot shutdowna
|
|
|
|
USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) $(PRIV_EXEC_INCLUDES) \
|
|
-isystem $(GENINCDIR) $(KERNEL_INCLUDES)
|
|
USER_CPPFLAGS += -DHOST_OS_$(ARCH)
|
|
|
|
ifneq ($(AROS_TARGET_VARIANT),)
|
|
USER_CPPFLAGS += -DHOST_OS_$(AROS_TARGET_VARIANT)
|
|
endif
|
|
|
|
# Allow to add architecture-specific options
|
|
-include $(SRCDIR)/arch/all-$(FAMILY)/exec/make.opts
|
|
-include $(SRCDIR)/arch/all-$(ARCH)/exec/make.opts
|
|
-include $(SRCDIR)/arch/$(CPU)-$(ARCH)/exec/make.opts
|
|
ifneq ($(AROS_TARGET_VARIANT),)
|
|
-include $(SRCDIR)/arch/all-$(ARCH)/$(AROS_TARGET_VARIANT)/exec/make.opts
|
|
-include $(SRCDIR)/arch/$(CPU)-$(ARCH)/$(AROS_TARGET_VARIANT)/exec/make.opts
|
|
endif
|
|
|
|
%build_archspecific \
|
|
mainmmake=kernel-exec modname=exec maindir=rom/exec \
|
|
arch=unix files=$(FILES) usesdks="private"
|
|
|
|
#MM kernel-exec-unix: kernel-kernel-includes kernel-hostlib-includes
|
|
|
|
%common
|