[Open-FCoE] [PATCH] fcoe-utils: Remove passthrough application from build

Robert Love robert.w.love at intel.com
Thu Dec 17 18:33:16 UTC 2009


fcping, fcnsq and fcrls are all applications that build
FC frames in userspace and then pass them to the kernel
via FC Passthrough. To build the FC frames these
applications need header files exported from the kernel.
These FC header files will not exported until the 2.6.33
kernel release.

This patch removes those applications from the fcoe-utils
Makefile so that a 2.6.32 tarball can be generated. At a
later time (probably the following patch). This patch will
be reverted so these tools can be built against 2.6.33
(or later) kernels.

This patch simply modifies the Makefile.am file by
removing fcping, fcnsq and fcrls from the tool list and
by commenting out some flags used to build fcping.
---

 Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a94ca7b..ae1d11a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
 ## target programs, to be built and installed in $(prefix)/sbin
-sbin_PROGRAMS = fcoeadm fcping fipvlan fcnsq fcrls
+sbin_PROGRAMS = fcoeadm fipvlan
 if WITH_DCB
 sbin_PROGRAMS += fcoemon
 endif
@@ -21,11 +21,11 @@ fcoeadm_LDFLAGS = $(HBAAPI_LIBS)
 
 ## rules for building fcping
 ## only listed sources get packaged, so must list all headers too
-fcping_SOURCES = fcping.c
+#fcping_SOURCES = fcping.c
 
 ## fcping uses HBAAPI, so get the right flags for compiling and linking
-fcping_CFLAGS = $(HBAAPI_CFLAGS)
-fcping_LDFLAGS = $(HBAAPI_LIBS) -lrt
+#fcping_CFLAGS = $(HBAAPI_CFLAGS)
+#fcping_LDFLAGS = $(HBAAPI_LIBS) -lrt
 
 ## rules for building fcoemon
 ## only listed sources get packaged, so must list all headers too




More information about the devel mailing list