summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-03-07 18:15:09 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-07 18:15:09 -0800
commit27f04a42b4bbe52200310cf248086ceb8cf3996e (patch)
tree6c77856c0489bc33530a428a9aca5502df90a2ce
parent8331dc5b536aa9ddda6cf46760aa513f6c4f92bc (diff)
[PATCH] lib/parser.o linkage fix
It's possible to define .configs in which there are no references in vmlinux to lib/parser.o. So you cannot load any filesystem modules. Arrange for parser.o to be statically linked. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 7b2ac49f9c46..7c70db79c0e0 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -4,11 +4,11 @@
lib-y := errno.o ctype.o string.o vsprintf.o cmdline.o \
bust_spinlocks.o rbtree.o radix-tree.o dump_stack.o \
- kobject.o kref.o idr.o div64.o parser.o int_sqrt.o \
+ kobject.o kref.o idr.o div64.o int_sqrt.o \
bitmap.o extable.o kobject_uevent.o prio_tree.o sha1.o \
halfmd4.o
-obj-y += sort.o
+obj-y += sort.o parser.o
ifeq ($(CONFIG_DEBUG_KOBJECT),y)
CFLAGS_kobject.o += -DDEBUG