summaryrefslogtreecommitdiffstats
path: root/images/Makefile.imx
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2015-03-06 21:22:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-09 11:52:58 +0100
commit2a2522eb8d5b1d358e78f40888d96f34a00898c6 (patch)
treec1aaade9b8cfff0f341d75d099f2ca486221a52f /images/Makefile.imx
parent60a4277b3e1f6da921f0d84c262a22da02c50c58 (diff)
downloadbarebox-2a2522eb8d5b1d358e78f40888d96f34a00898c6.tar.gz
barebox-2a2522eb8d5b1d358e78f40888d96f34a00898c6.tar.xz
images: move board variable to parent makefile
A lot of the image makefiles define an equal board variable, which gives the impression that this variable is unique for this makefile. As those files aren't freestanding makefiles but get included into a parent makefile this is not actually true. Attempts to override this variable will not work reliable as make is picking up a random instance. Fix this confusion by moving this variable out of the individual makefiles. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile.imx')
-rw-r--r--images/Makefile.imx2
1 files changed, 0 insertions, 2 deletions
diff --git a/images/Makefile.imx b/images/Makefile.imx
index eacc76eaa2..cc9fdfc78c 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -7,8 +7,6 @@
$(obj)/%.imximg: $(obj)/% FORCE
$(call if_changed,imx_image)
-board = $(srctree)/arch/$(ARCH)/boards
-
# ----------------------- i.MX25 based boards ---------------------------
pblx-$(CONFIG_MACH_TX25) += start_imx25_karo_tx25
FILE_barebox-karo-tx25.img = start_imx25_karo_tx25.pblx