mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
It is cumbersome to change SCST_INC_DIR and SCST_DIR in each Makefile before and after a release. Hence modify the Makefiles such that these paths are detected automatically. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4740 d57e44dd-8a1f-0410-8b47-8ef2f437770f
14 lines
354 B
Makefile
14 lines
354 B
Makefile
EXTRA_CFLAGS += -I$(SCST_INC_DIR)
|
|
|
|
-include $(SUBDIRS)/../build_mode
|
|
|
|
SRPTFLAGS = -DCONFIG_SCST_TRACING -DCONFIG_SCST_DEBUG \
|
|
-DCONFIG_SCST_EXTRACHECKS -fno-inline -fno-inline-functions
|
|
SRPTFLAGSRELEASE = -DCONFIG_SCST_TRACING
|
|
SRPTFLAGSPERF =
|
|
EXTRA_CFLAGS += $(SRPTFLAGS$(BUILDMODE))
|
|
|
|
#EXTRA_CFLAGS += -Wextra -Wno-unused-parameter
|
|
|
|
obj-m += ib_srpt.o
|