3 include $(SRCDIR)/config/aros.cfg
5 EXEDIR := $(AROSDIR)/boot
7 FILES := bootstrap bootmem elf_io filesystem hardware ui
10 ## The '-Wno-attributes' is here due to a gcc 4.5.x bug
11 ## where its strcmp() builtin generates a number of spurious
12 ## complaints with -O1 or higher optimizations enabled.
13 USER_CFLAGS := -Wno-attributes -DADATE="\"$(shell date '+%d.%m.%Y')\""
14 USER_LDFLAGS := -L$(GENDIR)/lib
15 USER_INCLUDES := -I$(GENINCDIR) -isystem $(SRCDIR)/bootstrap/include
17 #MM kernel-bootstrap-wince: linklibs-bootstrap
19 %build_prog mmake=kernel-bootstrap-wince \
20 progname=$(PROG) targetdir=$(EXEDIR) \
21 files=$(FILES) compiler=kernel uselibs="bootstrap"