Skip to content

Commit

Permalink
microblaze: Change libgcc-style functions from lib-y to obj-y
Browse files Browse the repository at this point in the history
Following precedence set by MIPs:
"[MIPS] Change libgcc-style functions from lib-y to obj-y"
(sha1: f7c2778),
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>
  • Loading branch information
davidholsgrove authored and Michal Simek committed Jul 18, 2014
1 parent 08e6bbd commit ef264cf
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions arch/microblaze/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ef264cf

Please sign in to comment.