link div64 also
authorMathieu Lacage <mathieu.lacage@inria.fr>
Tue, 01 Feb 2011 10:17:28 +0100
changeset 38 2ec6ad583c2e
parent 37 7f54ec1da52f
child 39 2f4cfa2bf90a
link div64 also
Makefile
--- a/Makefile	Mon Jan 31 21:13:22 2011 +0100
+++ b/Makefile	Tue Feb 01 10:17:28 2011 +0100
@@ -38,7 +38,7 @@
 CFLAGS+= -DCONFIG_64BIT
 endif
 
-LDFLAGS += -shared -nostdlib -g3 -Wl,-O1 -Wl,-Tlinker.lds
+LDFLAGS += -shared -nostdlib -g3 -Wl,-O1 -Wl,-Tlinker.lds 
 
 modules:=
 all-obj-for-clean:=
@@ -63,7 +63,9 @@
 lib_to_keep=klist.o kobject.o kref.o hweight.o int_sqrt.o checksum.o \
 find_last_bit.o find_next_bit.o bitmap.o nlattr.o idr.o libcrc32c.o \
 ctype.o string.o kasprintf.o rbtree.o sha1.o textsearch.o vsprintf.o \
-rwsem-spinlock.o scatterlist.o ratelimit.o hexdump.o dec_and_lock.o
+rwsem-spinlock.o scatterlist.o ratelimit.o hexdump.o dec_and_lock.o \
+div64.o
+
 objs.mk: Makefile.print $(KERNEL_DIR)/kernel/timeconst.h .download.ts
 	-for i in 1; do \
 	$(foreach d,$(dirs), \