summaryrefslogtreecommitdiff
path: root/board/integratorap/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'board/integratorap/config.mk')
-rw-r--r--board/integratorap/config.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/integratorap/config.mk b/board/integratorap/config.mk
index 25b79b3..e4c5c3b 100644
--- a/board/integratorap/config.mk
+++ b/board/integratorap/config.mk
@@ -3,3 +3,9 @@
#
TEXT_BASE = 0x01000000
+
+ifneq ($(OBJTREE),$(SRCTREE))
+# We are building u-boot in a separate directory, use generated
+# .lds script from OBJTREE directory.
+LDSCRIPT := $(OBJTREE)/board/$(BOARDDIR)/u-boot.lds
+endif