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
16 CFLAGS
+= -finstrument-functions
19 -include $(PREX_SRC
)/dev
/arch
/$(PREX_ARCH
)/$(PREX_PLATFORM
)/dev.mk
20 include $(PREX_SRC
)/mk
/Makefile.inc