summaryrefslogtreecommitdiff
path: root/arch/m68k/lib/Makefile
diff options
context:
space:
mode:
authorangelo@sysam.it <angelo@sysam.it>2015-12-06 17:47:59 +0100
committerTom Rini <trini@konsulko.com>2015-12-13 20:22:00 -0500
commit6463fd8f952df9e4bb448f0aff5d16873f8dfdb2 (patch)
tree3c2e23045aadf35ef674397c6bff716eb0761b01 /arch/m68k/lib/Makefile
parent8405b8d98a96233cc73969817367630ae7cc46b1 (diff)
m68k: add private libgcc
Add private libgcc Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch/m68k/lib/Makefile')
-rw-r--r--arch/m68k/lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile
index 73d40bda8b..dbca42cd7a 100644
--- a/arch/m68k/lib/Makefile
+++ b/arch/m68k/lib/Makefile
@@ -5,6 +5,10 @@
# SPDX-License-Identifier: GPL-2.0+
#
+## Build a couple of necessary functions into a private libgcc
+## if the user asked for it
+lib-$(CONFIG_USE_PRIVATE_LIBGCC) += lshrdi3.o muldi3.o ashldi3.o
+
obj-$(CONFIG_CMD_BOOTM) += bootm.o
obj-y += cache.o
obj-y += interrupts.o