Skip to contentSkip to conversation

multipath-tools ./Makefile path_priority/pp_tp ...

PATCH [email protected] 1 participant 1 message Jul 23, 2007

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

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: [email protected] 2007-07-23 21:37:10

Modified files:
. : Makefile
Added files:
path_priority/pp_tpc: Makefile pp_tpc.c

Log message:
Fix for bz #247891. Added mpath_prio_tpc priority callout to RHEL4.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/Makefile.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.6&r2=1.6.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_tpc/Makefile.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=NONE&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_tpc/pp_tpc.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=NONE&r2=1.2.4.1

Makefile +3 -3
@@ -22,14 +22,14 @@
 
 BUILDDIRS = libmultipath libcheckers path_priority/pp_emc \
 	    path_priority/pp_alua path_priority/pp_netapp \
-	    path_priority/pp_hds_modular multipath multipathd \
-	    kpartx
+	    path_priority/pp_hds_modular path_priority/pp_tpc \
+	    multipath multipathd kpartx
 ALLDIRS	= $(shell find . -type d -maxdepth 1 -mindepth 1)
 
 VERSION = $(shell basename ${PWD} | cut -d'-' -f3)
 INSTALLDIRS = multipath multipathd kpartx path_priority/pp_emc \
 	     path_priority/pp_alua path_priority/pp_netapp \
-	     path_priority/pp_hds_modular
+	     path_priority/pp_hds_modular path_priority/pp_tpc
 
 
 all: recurse

/cvs/dm/multipath-tools/path_priority/pp_tpc/Makefile,v --> standard output revision 1.1.4.1

- renamed from path_priority/pp_tpc/Makefile +22 -0
@@ -0,0 +1,22 @@
+EXEC		= mpath_prio_tpc
+BUILD		= glibc
+OBJS		= pp_tpc.o
+
+TOPDIR		= ../..
+include $(TOPDIR)/Makefile.inc
+
+all: $(BUILD)
+
+glibc:	$(OBJS)
+	$(CC) -o $(EXEC) $(OBJS) $(LDFLAGS)
+
+klibc:	$(OBJS)
+	$(CC) -static -o $(EXEC) $(OBJS)
+
+install: $(EXEC)
+	install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC)
+
+uninstall:
+	rm $(DESTDIR)$(bindir)/$(EXEC)
+clean:	
+	rm -f *.o $(EXEC)

/cvs/dm/multipath-tools/path_priority/pp_tpc/pp_tpc.c,v --> standard output revision 1.2.4.1

- renamed from path_priority/pp_tpc/pp_tpc.c +113 -0

113 lines not on this page · raw message