aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorDavid Holsgrove <david.holsgrove@xilinx.com>2014-02-27 19:42:42 -0500
committerMichal Simek <michal.simek@xilinx.com>2014-07-18 08:26:09 -0400
commitef264cf0c490cc9d46edb3b6aa082d23a9506e2d (patch)
tree8777092b59ebc0e9a4fedc51080a8e8395755e3f /arch/microblaze
parent08e6bbda0b483268822e3461f1bb82d6c80d2de5 (diff)
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>
Diffstat (limited to 'arch/microblaze')
-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 844960e8ae18..70c7ae6a3fb5 100644
--- a/arch/microblaze/lib/Makefile
+++ b/arch/microblaze/lib/Makefile
@@ -18,14 +18,6 @@ endif
18 18
19lib-y += uaccess_old.o 19lib-y += uaccess_old.o
20 20
21lib-y += ashldi3.o 21# libgcc-style stuff needed in the kernel
22lib-y += ashrdi3.o 22obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
23lib-y += cmpdi2.o 23obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o
24lib-y += divsi3.o
25lib-y += lshrdi3.o
26lib-y += modsi3.o
27lib-y += muldi3.o
28lib-y += mulsi3.o
29lib-y += ucmpdi2.o
30lib-y += udivsi3.o
31lib-y += umodsi3.o