microblaze: Change libgcc-style functions from lib-y to obj-y
authorDavid Holsgrove <david.holsgrove@xilinx.com>
Fri, 28 Feb 2014 00:42:42 +0000 (16:42 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 18 Jul 2014 12:26:09 +0000 (14:26 +0200)
Following precedence set by MIPs:
"[MIPS] Change libgcc-style functions from lib-y to obj-y"
(sha1: f7c2778151f32581ea9ec567d01d5d85209fcfe6),
switch the goal definition for kbuild to obj-y to ensure
object files linked in vmlinux if only modules were users
of these functions.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/lib/Makefile

index 844960e8ae189767f96eb5d2e6e79ed2ac3cab2e..70c7ae6a3fb5659013912aa5cb362d50437a7c82 100644 (file)
@@ -18,14 +18,6 @@ endif
 
 lib-y += uaccess_old.o
 
-lib-y += ashldi3.o
-lib-y += ashrdi3.o
-lib-y += cmpdi2.o
-lib-y += divsi3.o
-lib-y += lshrdi3.o
-lib-y += modsi3.o
-lib-y += muldi3.o
-lib-y += mulsi3.o
-lib-y += ucmpdi2.o
-lib-y += udivsi3.o
-lib-y += umodsi3.o
+# libgcc-style stuff needed in the kernel
+obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
+obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o