]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sparc/config.mk
kbuild: improve Kbuild speed
[karo-tx-uboot.git] / arch / sparc / config.mk
index 6dbf20f5377b9e523727a1134d842ac8e9f0c819..be59f5819009f7a87a25d948e0f3c2bf5a4516de 100644 (file)
@@ -9,6 +9,8 @@ ifeq ($(CROSS_COMPILE),)
 CROSS_COMPILE := sparc-elf-
 endif
 
+gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`)
+
 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \
                               -T $(srctree)/examples/standalone/sparc.lds