Eliminated the include/scst include path from the upstream ib_srpt Makefile.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2071 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-09 09:46:18 +00:00
parent a86577a276
commit 5edde5ec25
5 changed files with 20 additions and 2 deletions
+8
View File
@@ -39,7 +39,11 @@
#include <scsi/scsi_eh.h>
#include <scsi/scsi.h>
#ifdef GENERATING_UPSTREAM_PATCH
#include <scst/scst_const.h>
#else
#include <scst_const.h>
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
#ifndef RHEL_RELEASE_CODE
@@ -49,7 +53,11 @@ typedef _Bool bool;
#define false 0
#endif
#ifdef GENERATING_UPSTREAM_PATCH
#include <scst/scst_sgv.h>
#else
#include "scst_sgv.h"
#endif
/*
* Version numbers, the same as for the kernel.
+4
View File
@@ -22,7 +22,11 @@
#ifndef __SCST_USER_H
#define __SCST_USER_H
#ifdef GENERATING_UPSTREAM_PATCH
#include <scst/scst_const.h>
#else
#include <scst_const.h>
#endif
#define DEV_USER_NAME "scst_user"
#define DEV_USER_PATH "/dev/"
-2
View File
@@ -1,3 +1 @@
EXTRA_CFLAGS += -Iinclude/scst
obj-$(CONFIG_SCST_SRPT) += ib_srpt.o
+4
View File
@@ -50,7 +50,11 @@
#endif
#include "ib_srpt.h"
#define LOG_PREFIX "ib_srpt" /* Prefix for SCST tracing macros. */
#if defined(GENERATING_UPSTREAM_PATCH)
#include <scst/scst_debug.h>
#else
#include "scst_debug.h"
#endif
/* Name of this kernel module. */
#define DRV_NAME "ib_srpt"
+4
View File
@@ -45,7 +45,11 @@
#include <scsi/srp.h>
#if defined(GENERATING_UPSTREAM_PATCH)
#include <scst/scst.h>
#else
#include <scst.h>
#endif
#include "ib_dm_mad.h"