From dad77aead49cd0c316ae1e22356571c58a93cbee Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 28 Sep 2013 16:04:47 +0000 Subject: [PATCH] nightly build: Add kernel 3.11 build infrastructure git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5006 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla2x00-target/Makefile_in-tree-3.11 | 5 +++++ .../in-tree/Kconfig.drivers.Linux-3.11.patch | 13 +++++++++++++ scst/kernel/in-tree/Makefile.dev_handlers-3.11 | 14 ++++++++++++++ .../in-tree/Makefile.drivers.Linux-3.11.patch | 12 ++++++++++++ scst/kernel/in-tree/Makefile.scst-3.11 | 13 +++++++++++++ scst_local/in-tree/Makefile-3.11 | 2 ++ srpt/patches/kernel-3.11-pre-cflags.patch | 12 ++++++++++++ 7 files changed, 71 insertions(+) create mode 100644 qla2x00t/qla2x00-target/Makefile_in-tree-3.11 create mode 100644 scst/kernel/in-tree/Kconfig.drivers.Linux-3.11.patch create mode 100644 scst/kernel/in-tree/Makefile.dev_handlers-3.11 create mode 100644 scst/kernel/in-tree/Makefile.drivers.Linux-3.11.patch create mode 100644 scst/kernel/in-tree/Makefile.scst-3.11 create mode 100644 scst_local/in-tree/Makefile-3.11 create mode 100644 srpt/patches/kernel-3.11-pre-cflags.patch diff --git a/qla2x00t/qla2x00-target/Makefile_in-tree-3.11 b/qla2x00t/qla2x00-target/Makefile_in-tree-3.11 new file mode 100644 index 000000000..9657aee84 --- /dev/null +++ b/qla2x00t/qla2x00-target/Makefile_in-tree-3.11 @@ -0,0 +1,5 @@ +ccflags-y += -Idrivers/scsi/qla2xxx + +qla2x00tgt-y := qla2x00t.o + +obj-$(CONFIG_SCST_QLA_TGT_ADDON) += qla2x00tgt.o diff --git a/scst/kernel/in-tree/Kconfig.drivers.Linux-3.11.patch b/scst/kernel/in-tree/Kconfig.drivers.Linux-3.11.patch new file mode 100644 index 000000000..0cdb1a392 --- /dev/null +++ b/scst/kernel/in-tree/Kconfig.drivers.Linux-3.11.patch @@ -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" diff --git a/scst/kernel/in-tree/Makefile.dev_handlers-3.11 b/scst/kernel/in-tree/Makefile.dev_handlers-3.11 new file mode 100644 index 000000000..f933b36f7 --- /dev/null +++ b/scst/kernel/in-tree/Makefile.dev_handlers-3.11 @@ -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 diff --git a/scst/kernel/in-tree/Makefile.drivers.Linux-3.11.patch b/scst/kernel/in-tree/Makefile.drivers.Linux-3.11.patch new file mode 100644 index 000000000..7c779740f --- /dev/null +++ b/scst/kernel/in-tree/Makefile.drivers.Linux-3.11.patch @@ -0,0 +1,12 @@ +diff --git a/drivers/Makefile b/drivers/Makefile +index a16a8d0..afc60b5 100644 +--- a/drivers/Makefile ++++ b/drivers/Makefile +@@ -125,6 +125,7 @@ obj-$(CONFIG_SSB) += ssb/ + obj-$(CONFIG_BCMA) += bcma/ + obj-$(CONFIG_VHOST_NET) += vhost/ + obj-$(CONFIG_VLYNQ) += vlynq/ ++obj-$(CONFIG_SCST) += scst/ + obj-$(CONFIG_STAGING) += staging/ + obj-y += platform/ + #common clk code diff --git a/scst/kernel/in-tree/Makefile.scst-3.11 b/scst/kernel/in-tree/Makefile.scst-3.11 new file mode 100644 index 000000000..53af5f388 --- /dev/null +++ b/scst/kernel/in-tree/Makefile.scst-3.11 @@ -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/ diff --git a/scst_local/in-tree/Makefile-3.11 b/scst_local/in-tree/Makefile-3.11 new file mode 100644 index 000000000..8cbbbff63 --- /dev/null +++ b/scst_local/in-tree/Makefile-3.11 @@ -0,0 +1,2 @@ +obj-$(CONFIG_SCST_LOCAL) += scst_local.o + diff --git a/srpt/patches/kernel-3.11-pre-cflags.patch b/srpt/patches/kernel-3.11-pre-cflags.patch new file mode 100644 index 000000000..3964ee179 --- /dev/null +++ b/srpt/patches/kernel-3.11-pre-cflags.patch @@ -0,0 +1,12 @@ +diff --git a/Makefile b/Makefile +index 540f7b2..078307f 100644 +--- a/Makefile ++++ b/Makefile +@@ -361,6 +361,7 @@ USERINCLUDE := \ + # Use LINUXINCLUDE when you must reference the include/ directory. + # Needed to be compatible with the O= option + LINUXINCLUDE := \ ++ $(PRE_CFLAGS) \ + -I$(srctree)/arch/$(hdr-arch)/include \ + -Iarch/$(hdr-arch)/include/generated \ + $(if $(KBUILD_SRC), -I$(srctree)/include) \