|
|
6c64be |
From c9ff6b4ce766a25da4a2e9f9f4836139c9c2331e Mon Sep 17 00:00:00 2001
|
|
|
6c64be |
From: Eddie Wai <eddie.wai@broadcom.com>
|
|
|
6c64be |
Date: Fri, 15 Feb 2013 16:58:37 -0800
|
|
|
6c64be |
Subject: ISCSID: Modified the Makefile for iscsiuio compilation
|
|
|
6c64be |
|
|
|
6c64be |
This patch modifies the open-iscsi Makefile to include the compilation,
|
|
|
6c64be |
binary/manpage install, and clean of the iscsiuio source.
|
|
|
6c64be |
|
|
|
6c64be |
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
|
|
|
6c64be |
---
|
|
|
6c64be |
Makefile | 12 +++++++++---
|
|
|
6c64be |
1 file changed, 9 insertions(+), 3 deletions(-)
|
|
|
6c64be |
|
|
|
6c64be |
diff --git a/Makefile b/Makefile
|
|
|
6c64be |
index c5d9700..0b7bb98 100644
|
|
|
6c64be |
--- a/Makefile
|
|
|
6c64be |
+++ b/Makefile
|
|
|
6c64be |
@@ -14,8 +14,8 @@ mandir = $(prefix)/share/man
|
|
|
6c64be |
etcdir = /etc
|
|
|
6c64be |
initddir = $(etcdir)/init.d
|
|
|
6c64be |
|
|
|
6c64be |
-MANPAGES = doc/iscsid.8 doc/iscsiadm.8 doc/iscsi_discovery.8
|
|
|
6c64be |
-PROGRAMS = usr/iscsid usr/iscsiadm utils/iscsi_discovery utils/iscsi-iname
|
|
|
6c64be |
+MANPAGES = doc/iscsid.8 doc/iscsiadm.8 doc/iscsi_discovery.8 iscsiuio/docs/iscsiuio.8
|
|
|
6c64be |
+PROGRAMS = usr/iscsid usr/iscsiadm utils/iscsi_discovery utils/iscsi-iname iscsiuio/src/unix/iscsiuio
|
|
|
6c64be |
INSTALL = install
|
|
|
6c64be |
ETCFILES = etc/iscsid.conf
|
|
|
6c64be |
IFACEFILES = etc/iface.example
|
|
|
6c64be |
@@ -26,24 +26,29 @@ IFACEFILES = etc/iface.example
|
|
|
6c64be |
|
|
|
6c64be |
all: user
|
|
|
6c64be |
|
|
|
6c64be |
-user: utils/open-isns/Makefile
|
|
|
6c64be |
+user: utils/open-isns/Makefile iscsiuio/Makefile
|
|
|
6c64be |
$(MAKE) -C utils/open-isns
|
|
|
6c64be |
$(MAKE) -C utils/sysdeps
|
|
|
6c64be |
$(MAKE) -C utils/fwparam_ibft
|
|
|
6c64be |
$(MAKE) -C usr
|
|
|
6c64be |
$(MAKE) -C utils
|
|
|
6c64be |
+ $(MAKE) -C iscsiuio
|
|
|
6c64be |
@echo
|
|
|
6c64be |
@echo "Compilation complete Output file"
|
|
|
6c64be |
@echo "----------------------------------- ----------------"
|
|
|
6c64be |
@echo "Built iSCSI daemon: usr/iscsid"
|
|
|
6c64be |
@echo "Built management application: usr/iscsiadm"
|
|
|
6c64be |
@echo "Built boot tool: usr/iscsistart"
|
|
|
6c64be |
+ @echo "Built iscsiuio daemon: iscsiuio/src/unix/iscsiuio"
|
|
|
6c64be |
@echo
|
|
|
6c64be |
@echo "Read README file for detailed information."
|
|
|
6c64be |
|
|
|
6c64be |
utils/open-isns/Makefile: utils/open-isns/configure utils/open-isns/Makefile.in
|
|
|
6c64be |
cd utils/open-isns; ./configure CFLAGS="$(OPTFLAGS)" --with-security=no
|
|
|
6c64be |
|
|
|
6c64be |
+iscsiuio/Makefile: iscsiuio/configure iscsiuio/Makefile.in
|
|
|
6c64be |
+ cd iscsiuio; ./configure
|
|
|
6c64be |
+
|
|
|
6c64be |
kernel: force
|
|
|
6c64be |
$(MAKE) -C kernel
|
|
|
6c64be |
@echo "Kernel Compilation complete Output file"
|
|
|
6c64be |
@@ -61,6 +66,7 @@ clean:
|
|
|
6c64be |
$(MAKE) -C utils clean
|
|
|
6c64be |
$(MAKE) -C usr clean
|
|
|
6c64be |
$(MAKE) -C kernel clean
|
|
|
6c64be |
+ $(MAKE) -C iscsiuio clean
|
|
|
6c64be |
$(MAKE) -C utils/open-isns clean
|
|
|
6c64be |
$(MAKE) -C utils/open-isns distclean
|
|
|
6c64be |
|
|
|
6c64be |
--
|
|
|
6c64be |
1.8.1.4
|
|
|
6c64be |
|