linux/bootstrap: use Forbid/Permit only when thread is main AROS thread
[AROS.git] / bootstrap / mmakefile.src
blob6b980c7cc23b7fe9938964e0197a1ccc7512aa4f
1 #   $Id$
3 include $(TOP)/config/make.cfg
5 FILES := elfloader
7 USER_INCLUDES := -I $(SRCDIR)/$(CURDIR)/include -I $(GENINCDIR)
9 %build_linklib mmake=linklibs-bootstrap libname=bootstrap files="$(FILES)" \
10                compiler=kernel libdir=$(GENDIR)/lib
12 # linklibs-bootstrap32 target is used by x86-64 bootstrap which runs in 32-bit mode
14 USER_CFLAGS := -m32 -DELF_64BIT
16 %build_linklib mmake=linklibs-bootstrap32 libname=bootstrap files="$(FILES)" \
17                compiler=kernel objdir=$(GENDIR)/$(CURDIR)/32bit libdir=$(GENDIR)/lib32
19 %common