isert-scst: Shorten the compiler include path (merge r6311 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6553 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-10-26 22:08:59 +00:00
parent 801c7b7327
commit 6b2f8179f3
6 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
enable-Wextra = $(shell uname_r="$$(uname -r)"; if [ "$${uname_r%.el5}" = "$${uname_r}" ]; then echo "$(1)"; fi)
LINUXINCLUDE := $(PRE_CFLAGS) $(LINUXINCLUDE)
EXTRA_CFLAGS += -I$(src)/../../include -I$(src)/../ -I$(SCST_INC_DIR)
EXTRA_CFLAGS += -I$(src)/../../include -I$(SCST_INC_DIR)
EXTRA_CFLAGS += $(call enable-Wextra,-Wextra \
$(call cc-option,-Wno-old-style-declaration) \
-Wno-unused-parameter -Wno-missing-field-initializers)
@@ -36,7 +36,7 @@
#ifndef __ISER_DATAMOVER_H__
#define __ISER_DATAMOVER_H__
#include "iscsi.h"
#include "../iscsi.h"
/* iscsi layer calling iser */
int isert_datamover_init(void);
+1 -1
View File
@@ -36,7 +36,7 @@
#ifndef __ISER_HDR_H__
#define __ISER_HDR_H__
#include "iscsi.h"
#include "../iscsi.h"
#define ISCSI_LOGIN_MAX_RDSL (8 * 1024)
+1 -1
View File
@@ -38,7 +38,7 @@
#include <linux/kernel.h>
#include "iser.h"
#include "iscsi.h"
#include "../iscsi.h"
#include "iser_datamover.h"
static inline int isert_pdu_rx_buf_init(struct isert_cmnd *isert_pdu,
+1 -2
View File
@@ -54,12 +54,11 @@
#ifdef INSIDE_KERNEL_TREE
#include <scst/isert_scst.h>
#include <scst/iscsi_scst.h>
#include <scst/iscsi.h>
#else
#include "isert_scst.h"
#include "iscsi_scst.h"
#include "iscsi.h"
#endif
#include "../iscsi.h"
#include "iser_hdr.h"
+1 -7
View File
@@ -40,13 +40,7 @@
#include <linux/poll.h>
#include <linux/freezer.h>
#include <linux/file.h>
#ifdef INSIDE_KERNEL_TREE
#include <scst/iscsi.h>
#else
#include "iscsi.h"
#endif
#include "../iscsi.h"
#include "isert.h"
#include "isert_dbg.h"
#include "iser_datamover.h"