3 include $(SRCDIR)/config/aros.cfg
5 FILES := main bootstrap elf_io filesystem hostinterface kickstart log memory support shutdown runtime ui
8 ## The '-Wno-attributes' is here due to a gcc 4.5.x bug
9 ## where its strcmp() builtin generates a number of spurious
10 ## complaints with -O1 or higher optimizations enabled.
11 USER_CFLAGS := -Wno-attributes -DADATE="\"$(shell date '+%d.%m.%Y')\"" \
12 -DARCH=\"$(AROS_DIR_ARCH)\"
13 USER_LDFLAGS := -L$(GENDIR)/lib
14 USER_INCLUDES := -I$(SRCDIR)/arch/all-$(ARCH)/kernel -I$(GENINCDIR) -isystem $(SRCDIR)/bootstrap/include
16 # Allow to add host-specific options
17 -include $(SRCDIR)/arch/all-$(FAMILY)/bootstrap/make.opts
18 -include $(SRCDIR)/arch/all-$(ARCH)/bootstrap/make.opts
19 -include $(SRCDIR)/arch/all-$(AROS_TARGET_VARIANT)/bootstrap/make.opts
21 #MM kernel-bootstrap-hosted: linklibs-bootstrap linklibs-arossupport
23 %build_prog mmake=kernel-bootstrap-hosted \
24 progname=$(PROG)$(EXE_SUFFIX) targetdir=$(AROSARCHDIR) \
25 files=$(FILES) compiler=kernel uselibs="bootstrap"