Indentation fix, cleanup.
[AROS.git] / arch / all-hosted / bootstrap / mmakefile.src
blobd5851f777d4aa9aa9d9584ec7556be9630d13aae
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 FILES := main bootstrap elf_io filesystem hostinterface kickstart log memory support shutdown runtime ui
6 PROG  := AROSBootstrap
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"
27 %common