From c6d247254cc1e5cef83819ccd61fa70ea9a21527 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 16 Jan 2013 00:08:44 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4739 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst_local/Makefile b/scst_local/Makefile index e6024a8b0..e5342b755 100644 --- a/scst_local/Makefile +++ b/scst_local/Makefile @@ -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)