[Pvfs2-developers] [PATCH] Allow installing of pvfs2-client*
without giving it a kernel
David Brown
dmlb2000 at gmail.com
Fri May 18 12:51:52 EDT 2007
Here's a patch to allow users to install the pvfs2-client without
configuring a kernel to build against.
This really depends on how tightly coupled the client and pvfs2 module
are, if they are so interdependent on one another, then the other side
of this argument should be applied (remove the ability to compile the
client stuff without configuring a kernel).
--- Makefile.in 2007-04-09 07:54:37.000000000 -0700
+++ Makefile.in.new 2007-05-18 09:47:55.000000000 -0700
@@ -887,9 +887,8 @@
install -m 755 src/kernel/linux-2.6/pvfs2.ko $(KMOD_DIR)
.PHONY: kmod_install
-kmod_install: kmod kernapps just_kmod_install
- install -d $(prefix)/sbin
- install -m 755 $(KERNAPPS) $(prefix)/sbin
+kmod_install: kmod kernapps kernapps_install just_kmod_install
+
endif
ifneq (,$(LINUX24_KERNEL_SRC))
@@ -908,12 +907,15 @@
install -m 755 src/kernel/linux-2.4/pvfs2.o $(KMOD_DIR)
.PHONY: kmod24_install
-kmod24_install: kmod24 kernapps just_kmod24_install
- install -d $(prefix)/sbin
- install -m 755 $(KERNAPPS) $(prefix)/sbin
+kmod24_install: kmod24 kernapps kernapps_install just_kmod24_install
install -m 755 src/apps/kernel/linux/mount.pvfs2 $(prefix)/sbin
@echo ""
@echo "For improved linux-2.4 support,"
@echo "install $(prefix)/sbin/mount.pvfs2 to /sbin/mount.pvfs2"
@echo ""
endif
+
+kernapps_install: kernapps
+ install -d $(prefix)/sbin
+ install -m 755 $(KERNAPPS) $(prefix)/sbin
+
More information about the Pvfs2-developers
mailing list