X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=arch%2Fsparc%2Fconfig.mk;h=be59f5819009f7a87a25d948e0f3c2bf5a4516de;hp=e2327ecfac387826c7a2bbc15714201dc610246e;hb=026f9cf24f3c9d30c47c42bac622a64338caf596;hpb=32907339c2f533f1d59362c6100c6a0eeeca4837 diff --git a/arch/sparc/config.mk b/arch/sparc/config.mk index e2327ecfac..be59f58190 100644 --- a/arch/sparc/config.mk +++ b/arch/sparc/config.mk @@ -9,7 +9,9 @@ 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)/$(src)/sparc.lds + -T $(srctree)/examples/standalone/sparc.lds PLATFORM_CPPFLAGS += -DCONFIG_SPARC -D__sparc__