Skip to contentSkip to conversation

Target_Core_Mod Makefile and Kconfig

RFC PATCH In review Nicholas A. Bellinger 1 participant 1 message Apr 5, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 8/19 Target_Core_Mod Makefile and Kconfig

This patch adds the Makefile and Kconfig changes

drivers/Makefile +1 -0
index 2618a61..fea0008 100644
@@ -36,14 +36,15 @@ obj-$(CONFIG_FB_INTEL)          += video/intelfb/
 
 obj-y				+= serial/
 obj-$(CONFIG_PARPORT)		+= parport/
 obj-$(CONFIG_NUBUS)		+= nubus/
 obj-y				+= macintosh/
 obj-$(CONFIG_IDE)		+= ide/
 obj-$(CONFIG_SCSI)		+= scsi/
 obj-$(CONFIG_ATA)		+= ata/
+obj-$(CONFIG_TARGET_CORE)	+= target/
 obj-$(CONFIG_FUSION)		+= message/
 obj-$(CONFIG_FIREWIRE)		+= firewire/
 obj-y				+= ieee1394/
drivers/target/Kconfig new file +6 -0
new file mode 100644
index 0000000..57a1207
@@ -0,0 +1,6 @@
+config TARGET_CORE
+        tristate "Generic Target Core Engine and ConfigFS Infrastructure"
+	select CONFIGFS_FS
+        default m
+        ---help---
+        Say Y here to enable the Storage Engine, Subsystem Plugins, and ConfigFS enabled control path for the Generic Target Engine.
drivers/target/MCONFIG_ALL new file +20 -0
new file mode 100644
index 0000000..df4d628
@@ -0,0 +1,20 @@
+MODVER ?= 1
+
+EZLK ?= 0
+USEGDB ?= 1
+
+ERLONE ?= 1
+ERLTWO ?= 1
+
+DEBUG_ISCSI ?= 0
+DEBUG_OPCODES ?= 0
+
+DEBUG_AUTHD ?= 0
+DEBUG_CHAP ?= 0
+DEBUG_ERL ?= 0
+DEBUG_DEV ?= 0
+
+DEBUG_SUSE ?= 0
+
+SNMP_FEATURE ?= 1
+SNAP_FEATURE ?= 1
drivers/target/MCONFIG_TARGET new file +23 -0
new file mode 100644
index 0000000..77378be
@@ -0,0 +1,23 @@
+##################################################################################
+# Filename:  MCONFIG_TARGET
+#
+##################################################################################
+
+
+PYX_ISCSI_VENDOR ?="Linux-iSCSI.org"
+
+# Transport Plugins and Devices.
+#
+LINUX_PARALLEL_SCSI ?= 1
+LINUX_SCSI_MEDIA_ROM ?= 1
+LINUX_PARALLEL_ATA ?= 0
+LINUX_IBLOCK ?= 1
+LINUX_RAMDISK ?= 1
+LINUX_FILEIO ?= 1
+
+#
+# Workarounds for stupidity
+#
+LINUX_VPD_PAGE_CHECK?=1
+
+LIO_TARGET_CONFIGFS?=1
drivers/target/Makefile new file +101 -0

101 lines not on this page · raw message