linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: kill off the libgcc dependency
@ 2015-01-14 10:38 Kevin Hao
  2015-01-14 10:48 ` Will Deacon
  0 siblings, 1 reply; 13+ messages in thread
From: Kevin Hao @ 2015-01-14 10:38 UTC (permalink / raw)
  To: linux-arm-kernel

The arm64 doesn't depend on the libgcc to build the vmlinux image.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
---
 arch/arm64/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 1c43cec971b5..a20c28348be4 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -15,8 +15,6 @@ CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET)
 OBJCOPYFLAGS	:=-O binary -R .note -R .note.gnu.build-id -R .comment -S
 GZFLAGS		:=-9
 
-LIBGCC 		:= $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
-
 KBUILD_DEFCONFIG := defconfig
 
 KBUILD_CFLAGS	+= -mgeneral-regs-only
@@ -50,7 +48,6 @@ core-$(CONFIG_KVM) += arch/arm64/kvm/
 core-$(CONFIG_XEN) += arch/arm64/xen/
 core-$(CONFIG_CRYPTO) += arch/arm64/crypto/
 libs-y		:= arch/arm64/lib/ $(libs-y)
-libs-y		+= $(LIBGCC)
 libs-$(CONFIG_EFI_STUB) += drivers/firmware/efi/libstub/
 
 # Default target when executing plain make
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-01-15 11:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 10:38 [PATCH] arm64: kill off the libgcc dependency Kevin Hao
2015-01-14 10:48 ` Will Deacon
2015-01-14 11:35   ` Arnd Bergmann
2015-01-14 11:48     ` Will Deacon
2015-01-14 12:38       ` Arnd Bergmann
2015-01-14 12:52         ` Ard Biesheuvel
2015-01-14 13:37           ` Will Deacon
2015-01-15  7:07             ` Kevin Hao
2015-01-15  9:59               ` Will Deacon
2015-01-15 11:21                 ` Ard Biesheuvel
2015-01-15 11:36                   ` Will Deacon
2015-01-14 14:39           ` Russell King - ARM Linux
2015-01-15  7:09             ` Kevin Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).