summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Holsgrove <david.holsgrove@xilinx.com>2014-02-27 16:42:42 -0800
committerMichal Simek <michal.simek@xilinx.com>2014-07-18 14:26:09 +0200
commitef264cf0c490cc9d46edb3b6aa082d23a9506e2d (patch)
tree8777092b59ebc0e9a4fedc51080a8e8395755e3f
parent08e6bbda0b483268822e3461f1bb82d6c80d2de5 (diff)
downloadop-kernel-dev-ef264cf0c490cc9d46edb3b6aa082d23a9506e2d.zip
op-kernel-dev-ef264cf0c490cc9d46edb3b6aa082d23a9506e2d.tar.gz
microblaze: Change libgcc-style functions from lib-y to obj-y
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>
-rw-r--r--arch/microblaze/lib/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/arch/microblaze/lib/Makefile b/arch/microblaze/lib/Makefile
index 844960e..70c7ae6 100644
--- a/arch/microblaze/lib/Makefile
+++ b/arch/microblaze/lib/Makefile
@@ -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
OpenPOWER on IntegriCloud