diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2018-06-28 10:39:42 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-06-29 09:29:42 +0200 |
commit | 5302dff3b60d6ef288bfd9526b69381ffc3ed990 (patch) | |
tree | 5baafca9c7b48e383e6145485101724fdcc0a66c /lib/Makefile | |
parent | fe040e0977fab29216f5039e8f9b04e6dbec859a (diff) | |
download | barebox-5302dff3b60d6ef288bfd9526b69381ffc3ed990.tar.gz barebox-5302dff3b60d6ef288bfd9526b69381ffc3ed990.tar.xz |
lib: Add shared copies of some GCC library routines
This commit is based on these linux kernel commits:
| commit b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835
| Author: Palmer Dabbelt <palmer@dabbelt.com>
| Date: Tue May 23 10:28:26 2017 -0700
|
| lib: Add shared copies of some GCC library routines
|
| commit e3d5980568fdf83c15a5a3c8ddca1590551ab7a2
| Author: Matt Redfearn <matt.redfearn@mips.com>
| Date: Wed Apr 11 08:50:17 2018 +0100
|
| lib: Rename compiler intrinsic selects to GENERIC_LIB_*
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index a7498288af..693945fb2c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -65,3 +65,10 @@ obj-y += int_sqrt.o obj-y += parseopt.o obj-y += clz_ctz.o obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o + +# GCC library routines +obj-$(CONFIG_GENERIC_LIB_ASHLDI3) += ashldi3.o +obj-$(CONFIG_GENERIC_LIB_ASHRDI3) += ashrdi3.o +obj-$(CONFIG_GENERIC_LIB_LSHRDI3) += lshrdi3.o + +pbl-$(CONFIG_GENERIC_LIB_ASHLDI3) += ashldi3.o |