diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-12 02:53:14 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:44:05 -0500 |
commit | 180ae2037f5bc33b0597ddbb76d36b08a74a238a (patch) | |
tree | 623c8e77a7593811124726e669e701443b83e47e /arch/sh/Makefile | |
parent | 209aa4fdc39eacc145a7f9c32a4b9ffcc68912c6 (diff) |
sh: Provide sdivsi3/udivsi3/udivdi3 for sh64, kill off libgcc linking.
This moves in the necessary libgcc bits and kills off the libgcc linking
for sh64 kernels as well.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index d56889e62a90..c59098dcdfad 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -177,10 +177,8 @@ KBUILD_CFLAGS += -pipe $(cflags-y) | |||
177 | KBUILD_CPPFLAGS += $(cflags-y) | 177 | KBUILD_CPPFLAGS += $(cflags-y) |
178 | KBUILD_AFLAGS += $(cflags-y) | 178 | KBUILD_AFLAGS += $(cflags-y) |
179 | 179 | ||
180 | LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) | ||
181 | |||
182 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) | 180 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) |
183 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) $(LIBGCC) | 181 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) |
184 | 182 | ||
185 | PHONY += maketools FORCE | 183 | PHONY += maketools FORCE |
186 | 184 | ||