]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - Makefile
scsi: move the partition initialization out of the scsi detection
[people/ms/u-boot.git] / Makefile
index ca7d60d610839ede7be37cee640bd3c969132674..8d4e6050b37d07a145d7a23bcf475d0c0cf6b6b9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -348,7 +348,7 @@ OBJCOPY             = $(CROSS_COMPILE)objcopy
 OBJDUMP                = $(CROSS_COMPILE)objdump
 AWK            = awk
 PERL           = perl
-PYTHON         = python
+PYTHON         ?= python
 DTC            = dtc
 CHECK          = sparse
 
@@ -805,6 +805,10 @@ ALL-y += $(CONFIG_BUILD_TARGET:"%"=%)
 endif
 
 LDFLAGS_u-boot += $(LDFLAGS_FINAL)
+
+# Avoid 'Not enough room for program headers' error on binutils 2.28 onwards.
+LDFLAGS_u-boot += $(call ld-option, --no-dynamic-linker)
+
 ifneq ($(CONFIG_SYS_TEXT_BASE),)
 LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE)
 endif