mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 21:21:28 +00:00
Move the $(SCST_INC_DIR) definitions from the out-of-tree sections into the in-kernel sections. Since SCST is now distributed as a single tar archive, only support in-tree builds with $(SCST_INC_DIR) and $(SCST_DIR). git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8079 d57e44dd-8a1f-0410-8b47-8ef2f437770f
18 lines
563 B
Makefile
18 lines
563 B
Makefile
LINUXINCLUDE := $(PRE_CFLAGS) $(LINUXINCLUDE)
|
|
CPPFLAGS := $(PRE_CFLAGS) $(CPPFLAGS)
|
|
ccflags-y += -I$(KBUILD_EXTMOD)/../../scst/include
|
|
|
|
-include $(KBUILD_EXTMOD)/../../build_mode
|
|
|
|
echo := $(shell echo "srpt build mode: $(BUILD_MODE)" >& 2)
|
|
|
|
BUILD_MODE_CFLAGS_ = -DCONFIG_SCST_TRACING -DCONFIG_SCST_DEBUG \
|
|
-DCONFIG_SCST_EXTRACHECKS -fno-inline -fno-inline-functions
|
|
BUILD_MODE_CFLAGS_RELEASE = -DCONFIG_SCST_TRACING
|
|
BUILD_MODE_CFLAGS_PERF =
|
|
ccflags-y += $(BUILD_MODE_CFLAGS_$(BUILD_MODE))
|
|
|
|
#ccflags-y += -Wextra -Wno-unused-parameter
|
|
|
|
obj-m += ib_srpt.o
|