Skip to content

Commit

Permalink
lm32: Directly link against libgcc
Browse files Browse the repository at this point in the history
Instead of copying files from libgcc over just directly link against libgcc.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
  • Loading branch information
larsclausen committed Jul 6, 2013
1 parent ac44f7f commit d9b73e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 405 deletions.
3 changes: 3 additions & 0 deletions arch/lm32/Makefile
Expand Up @@ -22,6 +22,8 @@
# MA 02111-1307 USA
#

LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)

board-$(CONFIG_BOARD_MILKYMIST_ONE) := milkymist-one
board-$(CONFIG_BOARD_MILKYMIST_SOC) := milkymist-soc
BOARD := $(board-y)
Expand All @@ -41,6 +43,7 @@ head-y := arch/lm32/kernel/head.o
core-y += arch/lm32/
core-y += arch/lm32/platforms/
libs-y += arch/lm32/lib/
libs-y += $(LIBGCC)

boot := arch/lm32/boot

Expand Down
2 changes: 1 addition & 1 deletion arch/lm32/lib/Makefile
Expand Up @@ -2,5 +2,5 @@
# Makefile for lm32 specific library files..
#

lib-y := memset.o memcpy.o arithmetic.o libgcc2.o
lib-y := memset.o memcpy.o

223 changes: 0 additions & 223 deletions arch/lm32/lib/arithmetic.c

This file was deleted.

0 comments on commit d9b73e7

Please sign in to comment.