diff options
| author | David Holsgrove <david.holsgrove@xilinx.com> | 2014-02-27 19:42:42 -0500 |
|---|---|---|
| committer | Michal Simek <michal.simek@xilinx.com> | 2014-07-18 08:26:09 -0400 |
| commit | ef264cf0c490cc9d46edb3b6aa082d23a9506e2d (patch) | |
| tree | 8777092b59ebc0e9a4fedc51080a8e8395755e3f | |
| parent | 08e6bbda0b483268822e3461f1bb82d6c80d2de5 (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>
| -rw-r--r-- | arch/microblaze/lib/Makefile | 14 |
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 | ||
| 19 | lib-y += uaccess_old.o | 19 | lib-y += uaccess_old.o |
| 20 | 20 | ||
| 21 | lib-y += ashldi3.o | 21 | # libgcc-style stuff needed in the kernel |
| 22 | lib-y += ashrdi3.o | 22 | obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o |
| 23 | lib-y += cmpdi2.o | 23 | obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o |
| 24 | lib-y += divsi3.o | ||
| 25 | lib-y += lshrdi3.o | ||
| 26 | lib-y += modsi3.o | ||
| 27 | lib-y += muldi3.o | ||
| 28 | lib-y += mulsi3.o | ||
| 29 | lib-y += ucmpdi2.o | ||
| 30 | lib-y += udivsi3.o | ||
| 31 | lib-y += umodsi3.o | ||
