mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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/"
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
EXTRA_CFLAGS += -Iinclude/scst
|
||||
|
||||
obj-$(CONFIG_SCST_SRPT) += ib_srpt.o
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user