summaryrefslogtreecommitdiff
path: root/arch/m68k/lib/Makefile
diff options
context:
space:
mode:
authorangelo@sysam.it <angelo@sysam.it>2015-12-06 16:47:59 (GMT)
committerTom Rini <trini@konsulko.com>2015-12-14 01:22:00 (GMT)
commit6463fd8f952df9e4bb448f0aff5d16873f8dfdb2 (patch)
tree3c2e23045aadf35ef674397c6bff716eb0761b01 /arch/m68k/lib/Makefile
parent8405b8d98a96233cc73969817367630ae7cc46b1 (diff)
downloadu-boot-fsl-qoriq-6463fd8f952df9e4bb448f0aff5d16873f8dfdb2.tar.xz
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 73d40bd..dbca42c 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