diff options
author | Zong Li <zongbox@gmail.com> | 2018-10-02 16:52:27 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-10-22 17:02:55 -0700 |
commit | 7f47c73b355f300cf162f3a664e43d557d2cb30d (patch) | |
tree | 2879e1b90b1020c7fa67f4857cd92972f7925349 /arch/riscv/lib | |
parent | 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d (diff) |
RISC-V: Build tishift only on 64-bit
Only RV64 supports 128 integer size.
Signed-off-by: Zong Li <zong@andestech.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/lib')
-rw-r--r-- | arch/riscv/lib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index 445ec84f9a47..5739bd05d289 100644 --- a/arch/riscv/lib/Makefile +++ b/arch/riscv/lib/Makefile @@ -2,6 +2,7 @@ lib-y += delay.o lib-y += memcpy.o lib-y += memset.o lib-y += uaccess.o -lib-y += tishift.o + +lib-(CONFIG_64BIT) += tishift.o lib-$(CONFIG_32BIT) += udivdi3.o |