diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-02-03 09:06:10 +0200 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2009-02-07 00:52:37 -0600 |
commit | 4a99e1a61d2767dcf87367480b029ff0f3bc32e7 (patch) | |
tree | 691e9ab22cc0eb3b653995169be32ad7db29d769 /Makefile | |
parent | 9cfa207fa2b7ef5eea3982cb3becbfc41f16f2f9 (diff) | |
download | open-iscsi-4a99e1a61d2767dcf87367480b029ff0f3bc32e7.tar.gz |
open-iscsi: Makefile: separate out user: and kernel: make targets
Separate out the build of "kernel:" and "user:" targets.
[Mike please revisit the @echo output if we need anything added]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 14 insertions, 11 deletions
@@ -24,27 +24,30 @@ IFACEFILES = etc/iface.example # using '$(MAKE)' instead of just 'make' allows make to run in parallel # over multiple makefile. -all: +all: user kernel + +user: ; $(MAKE) -C utils/fwparam_ibft $(MAKE) -C usr - $(MAKE) -C kernel $(MAKE) -C utils @echo @echo "Compilation complete Output file" @echo "----------------------------------- ----------------" - @echo "Built iSCSI Open Interface module: kernel/scsi_transport_iscsi.ko" - @echo "Built iSCSI library module: kernel/libiscsi.ko" - @echo "Built iSCSI over TCP library module: kernel/iscsi_tcp.ko" - @echo "Built iSCSI over TCP kernel module: kernel/iscsi_tcp.ko" @echo "Built iSCSI daemon: usr/iscsid" @echo "Built management application: usr/iscsiadm" @echo - @echo Read README file for detailed information. + @echo "Read README file for detailed information." -user: - $(MAKE) -C utils/fwparam_ibft - $(MAKE) -C utils - $(MAKE) -C usr +kernel: force + $(MAKE) -C kernel + @echo "Kernel Compilation complete Output file" + @echo "----------------------------------- ----------------" + @echo "Built iSCSI Open Interface module: kernel/scsi_transport_iscsi.ko" + @echo "Built iSCSI library module: kernel/libiscsi.ko" + @echo "Built iSCSI over TCP library module: kernel/libiscsi_tcp.ko" + @echo "Built iSCSI over TCP kernel module: kernel/iscsi_tcp.ko" + +force: ; clean: $(MAKE) -C utils/fwparam_ibft clean |