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