mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
scst_local: Remove a superfluous include path
Target drivers must not include header files from the SCST source code directory. Hence remove -I$(SCST_DIR) from the compiler flags. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4739 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -12,7 +12,7 @@ KMOD := $(shell pwd)/kernel
|
||||
|
||||
enable-Wextra = $(shell uname_r="$$(uname -r)"; if [ "$${uname_r%.el5}" = "$${uname_r}" ]; then echo "$(1)"; fi)
|
||||
|
||||
EXTRA_CFLAGS += -I$(SCST_INC_DIR) -I$(SCST_DIR)
|
||||
EXTRA_CFLAGS += -I$(SCST_INC_DIR)
|
||||
EXTRA_CFLAGS += $(call enable-Wextra,-Wextra -Wno-unused-parameter\
|
||||
-Wno-missing-field-initializers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user