summaryrefslogtreecommitdiff
path: root/utils/fwparam_ibft/Makefile
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-11-26 02:04:54 -0600
committerMike Christie <michaelc@cs.wisc.edu>2008-11-26 05:37:48 -0600
commit8b840585f5b89380113b54123afc17953d39d44e (patch)
tree20365246774bd5d842f670735807c5abe8a10e32 /utils/fwparam_ibft/Makefile
parent55598cfa27966d90c30f243171e17c4905ee2755 (diff)
downloadopen-iscsi-8b840585f5b89380113b54123afc17953d39d44e.tar.gz
ibft: add support to use iscsi_ibft module and log into all portals found in firmware
This adds the ibft sysfs module (iscsi_ibft) parsing support. It was original done by Konard, but I have ported it to use the sysfs.c helpers (add new ones and ported iscsi_sysfs.c too). This patch also modifies iscsistart and iscsiadm to print/log into all the portals found in firmware. It also changes the behavior of iscsiadm -m discovery -t fw so that we create db records for what is found. It is not fully hooked into the iface code, so it will use the different inititor name, but it will not create a iface for it (this means that if you have a record for the same portal that is bound to a iface with a iname you can run into problems).
Diffstat (limited to 'utils/fwparam_ibft/Makefile')
-rw-r--r--utils/fwparam_ibft/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/fwparam_ibft/Makefile b/utils/fwparam_ibft/Makefile
index 6d7d00a..7a2f67c 100644
--- a/utils/fwparam_ibft/Makefile
+++ b/utils/fwparam_ibft/Makefile
@@ -21,13 +21,13 @@
# "Prasanna Mumbai" <mumbai.prasanna@gmail.com>
#
-OBJS := fwparam_ibft.o fw_entry.o
+OBJS := fw_entry.o fwparam_ibft_sysfs.o
OBJS += prom_lex.o prom_parse.tab.o fwparam_ppc.o
CLEANFILES = $(OBJS) *.output *~
OPTFLAGS ?= -O2 -g -fPIC
WARNFLAGS ?= -Wall -Wstrict-prototypes
-CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -I../../include
+CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -I../../include -I../../usr
all: $(OBJS)