add support for crt{i,n} - required for powerpc EABI
[prex.git] / mk / dev.mk
blob08c003a7cb4d6bef49dd5b383ea8da4933c3d9ff
2 # Make options for driver module
4 include $(PREX_SRC)/mk/own.mk
6 INC_FLAGS = -I$(PREX_SRC)/conf \
7 -I$(PREX_SRC)/dev/arch/$(PREX_ARCH)/include \
8 -I$(PREX_SRC)/dev/include
10 ASFLAGS = $(INC_FLAGS)
11 CPPFLAGS := -D__DRIVER__ $(INC_FLAGS)
12 CFLAGS := $(CPPFLAGS) -nostdinc -fno-builtin
13 LDFLAGS = -static -nostdlib -r
15 ifeq ($(KTRACE),1)
16 CFLAGS += -finstrument-functions
17 endif
19 -include $(PREX_SRC)/dev/arch/$(PREX_ARCH)/$(PREX_PLATFORM)/dev.mk
20 include $(PREX_SRC)/mk/Makefile.inc