mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
regtests: Add files necessary for Linux kernel 3.1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
5
qla2x00t/qla2x00-target/Makefile_in-tree-3.1
Normal file
5
qla2x00t/qla2x00-target/Makefile_in-tree-3.1
Normal file
@@ -0,0 +1,5 @@
|
||||
ccflags-y += -Idrivers/scsi/qla2xxx
|
||||
|
||||
qla2x00tgt-y := qla2x00t.o
|
||||
|
||||
obj-$(CONFIG_SCST_QLA_TGT_ADDON) += qla2x00tgt.o
|
||||
13
scst/kernel/in-tree/Kconfig.drivers.Linux-3.1.patch
Normal file
13
scst/kernel/in-tree/Kconfig.drivers.Linux-3.1.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/drivers/Kconfig b/drivers/Kconfig
|
||||
index a2b902f..92e3d67 100644
|
||||
--- a/drivers/Kconfig
|
||||
+++ b/drivers/Kconfig
|
||||
@@ -22,6 +22,8 @@ source "drivers/ide/Kconfig"
|
||||
|
||||
source "drivers/scsi/Kconfig"
|
||||
|
||||
+source "drivers/scst/Kconfig"
|
||||
+
|
||||
source "drivers/ata/Kconfig"
|
||||
|
||||
source "drivers/md/Kconfig"
|
||||
14
scst/kernel/in-tree/Makefile.dev_handlers-3.1
Normal file
14
scst/kernel/in-tree/Makefile.dev_handlers-3.1
Normal file
@@ -0,0 +1,14 @@
|
||||
ccflags-y += -Wno-unused-parameter
|
||||
|
||||
obj-m := scst_cdrom.o scst_changer.o scst_disk.o scst_modisk.o scst_tape.o \
|
||||
scst_vdisk.o scst_raid.o scst_processor.o scst_user.o
|
||||
|
||||
obj-$(CONFIG_SCST_DISK) += scst_disk.o
|
||||
obj-$(CONFIG_SCST_TAPE) += scst_tape.o
|
||||
obj-$(CONFIG_SCST_CDROM) += scst_cdrom.o
|
||||
obj-$(CONFIG_SCST_MODISK) += scst_modisk.o
|
||||
obj-$(CONFIG_SCST_CHANGER) += scst_changer.o
|
||||
obj-$(CONFIG_SCST_RAID) += scst_raid.o
|
||||
obj-$(CONFIG_SCST_PROCESSOR) += scst_processor.o
|
||||
obj-$(CONFIG_SCST_VDISK) += scst_vdisk.o
|
||||
obj-$(CONFIG_SCST_USER) += scst_user.o
|
||||
11
scst/kernel/in-tree/Makefile.drivers.Linux-3.1.patch
Normal file
11
scst/kernel/in-tree/Makefile.drivers.Linux-3.1.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff --git a/drivers/Makefile b/drivers/Makefile
|
||||
index b423bb1..f780114 100644
|
||||
--- a/drivers/Makefile
|
||||
+++ b/drivers/Makefile
|
||||
@@ -115,5 +115,6 @@ obj-$(CONFIG_VLYNQ) += vlynq/
|
||||
obj-$(CONFIG_STAGING) += staging/
|
||||
obj-y += platform/
|
||||
obj-y += ieee802154/
|
||||
+obj-$(CONFIG_SCST) += scst/
|
||||
#common clk code
|
||||
obj-y += clk/
|
||||
13
scst/kernel/in-tree/Makefile.scst-3.1
Normal file
13
scst/kernel/in-tree/Makefile.scst-3.1
Normal file
@@ -0,0 +1,13 @@
|
||||
ccflags-y += -Wno-unused-parameter
|
||||
|
||||
scst-y += scst_main.o
|
||||
scst-y += scst_pres.o
|
||||
scst-y += scst_targ.o
|
||||
scst-y += scst_lib.o
|
||||
scst-y += scst_sysfs.o
|
||||
scst-y += scst_mem.o
|
||||
scst-y += scst_tg.o
|
||||
scst-y += scst_debug.o
|
||||
|
||||
obj-$(CONFIG_SCST) += scst.o dev_handlers/ fcst/ iscsi-scst/ qla2xxx-target/ \
|
||||
srpt/ scst_local/
|
||||
2
scst_local/in-tree/Makefile-3.1
Normal file
2
scst_local/in-tree/Makefile-3.1
Normal file
@@ -0,0 +1,2 @@
|
||||
obj-$(CONFIG_SCST_LOCAL) += scst_local.o
|
||||
|
||||
14
srpt/patches/kernel-3.1-pre-cflags.patch
Normal file
14
srpt/patches/kernel-3.1-pre-cflags.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index d018956..3c3b936 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -357,7 +357,8 @@ CFLAGS_GCOV = -fprofile-arcs -ftest-coverage
|
||||
|
||||
# Use LINUXINCLUDE when you must reference the include/ directory.
|
||||
# Needed to be compatible with the O= option
|
||||
-LINUXINCLUDE := -I$(srctree)/arch/$(hdr-arch)/include \
|
||||
+LINUXINCLUDE := $(PRE_CFLAGS) \
|
||||
+ -I$(srctree)/arch/$(hdr-arch)/include \
|
||||
-Iarch/$(hdr-arch)/include/generated -Iinclude \
|
||||
$(if $(KBUILD_SRC), -I$(srctree)/include) \
|
||||
-include include/generated/autoconf.h
|
||||
Reference in New Issue
Block a user