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
12 USER_CPPFLAGS := -DADATE="\"$(shell date '+%d.%m.%Y')\"" \
13 -DARCH=\"$(AROS_DIR_ARCH)\"
14 USER_LDFLAGS := -L$(GENDIR)/lib
15 USER_INCLUDES := -I$(SRCDIR)/arch/all-$(ARCH)/kernel -I$(GENINCDIR) -isystem $(SRCDIR)/bootstrap/include
17 # Allow to add host-specific options
18 -include $(SRCDIR)/arch/all-$(FAMILY)/bootstrap/make.opts
19 -include $(SRCDIR)/arch/all-$(ARCH)/bootstrap/make.opts
20 -include $(SRCDIR)/arch/all-$(AROS_TARGET_VARIANT)/bootstrap/make.opts
22 #MM kernel-bootstrap-hosted: linklibs-bootstrap linklibs-arossupport
24 %build_prog mmake=kernel-bootstrap-hosted \
25 progname=$(PROG)$(EXE_SUFFIX) targetdir=$(AROSARCHDIR) \
26 files=$(FILES) compiler=kernel uselibs="bootstrap"