On May 18, 2007, at 11:51 AM, David Brown wrote:

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

The pvfs2-client and kernel module are co-dependent.

(remove the ability to compile the
client stuff without configuring a kernel).

I think the Makefile already does that, no? You can't do make kmod with configuring the kernel first. The client admin applications (pvfs2-ls, pvfs2-touch, etc.) don't require either the kernel module or the pvfs2-client daemon, and as such don't require the kernel headers.

-sam


--- 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
+
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers


_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to