summaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2015-03-06 21:22:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-09 11:52:58 +0100
commita5b9eb1ceb91cb7c2616df41eaeb05960cd8f0d5 (patch)
treeb82d043f8bd213648665a2414674203f1bc6b6f3 /images/Makefile
parent2a2522eb8d5b1d358e78f40888d96f34a00898c6 (diff)
downloadbarebox-a5b9eb1ceb91cb7c2616df41eaeb05960cd8f0d5.tar.gz
barebox-a5b9eb1ceb91cb7c2616df41eaeb05960cd8f0d5.tar.xz
images: fix Tegra out-of-tree build
The BCTs are build objects and as such are located in the objtree instead of the srctree. Fix out-of-tree build by defining a variable which refers to the board directories in the objtree and use it for Tegra. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index f40de7bc23..c01179081d 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -98,6 +98,7 @@ $(obj)/%.img: $(obj)/$$(FILE_$$(@F))
$(call if_changed,shipped)
board = $(srctree)/arch/$(ARCH)/boards
+objboard = $(objtree)/arch/$(ARCH)/boards
include $(srctree)/images/Makefile.am33xx
include $(srctree)/images/Makefile.imx