- don't mess about with 2.5's host app shared library mechanisms, just link
ptlctl in explicitly
- add a 2.5 ext3 san patch for ext3_get_block_handle and journal_handle_stop
- at least pretend to track the patches in series/jdike-2.5
- 'int flags', doh.
EXTRA_CFLAGS := -Ifs/lustre/include -Ifs/lustre/portals/include
HOSTCFLAGS := $(EXTRA_CFLAGS)
LIBREADLINE := @LIBREADLINE@
+# 2.5's makefiles aren't nice to cross dir libraries in host programs
+PTLCTLOBJS := debug.o l_ioctl.o parser.o portals.o
EXTRA_CFLAGS := -Ifs/lustre/include -Ifs/lustre/portals/include
HOSTCFLAGS := $(EXTRA_CFLAGS)
+# the kernel doesn't want us to build archives for host binaries :/
+PTLCTLOBJS := debug.o l_ioctl.o parser.o portals.o
obj-y += portals/
obj-y += obdclass/
+obj-y += ldlm/
+#obj-y += lib/
+#obj-y += mds/
obj-y += obdecho/
-obj-y += mds/
-obj-y += lib/
+obj-y += ptlrpc/
-# portals needs to be before utils/, which links against -lptlctl
+# portals needs to be before utils/, which pulls in ptlctl objects
obj-m += utils/
EXTRA_CFLAGS := -Ifs/lustre/include -Ifs/lustre/portals/include
HOSTCFLAGS := $(EXTRA_CFLAGS)
LIBREADLINE := @LIBREADLINE@
+# 2.5's makefiles aren't nice to cross dir libraries in host programs
+PTLCTLOBJS := debug.o l_ioctl.o parser.o portals.o
EXTRA_CFLAGS := -Ifs/lustre/include -Ifs/lustre/portals/include
HOSTCFLAGS := $(EXTRA_CFLAGS)
+# the kernel doesn't want us to build archives for host binaries :/
+PTLCTLOBJS := debug.o l_ioctl.o parser.o portals.o