X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2FMakefile.spl;h=24ee927c72da84f0eb06e2e41bfb2253d1b861de;hb=a6d6812a212cf2ac263b23e68e6cbf719e64ac20;hp=e5b604e2d269707be817dee527a685e970e4a1af;hpb=0da90255083681a02b24528f80da9d4062ff634a;p=platform%2Fkernel%2Fu-boot.git diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index e5b604e..24ee927 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -321,14 +321,9 @@ LDFLAGS_$(SPL_BIN) += -T u-boot-spl.lds $(LDFLAGS_FINAL) # Avoid 'Not enough room for program headers' error on binutils 2.28 onwards. LDFLAGS_$(SPL_BIN) += $(call ld-option, --no-dynamic-linker) -# First try the best-match (i.e. SPL_TEXT_BASE for SPL, TPL_TEXT_BASE for TPL) +# Pick the best-match (i.e. SPL_TEXT_BASE for SPL, TPL_TEXT_BASE for TPL) ifneq ($(CONFIG_$(SPL_TPL_)TEXT_BASE),) LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_$(SPL_TPL_)TEXT_BASE) -else -# And then fall back to just testing for SPL_TEXT_BASE, even if in TPL mode -ifneq ($(CONFIG_SPL_TEXT_BASE),) -LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE) -endif endif ifdef CONFIG_TARGET_SOCFPGA_ARRIA10