summaryrefslogtreecommitdiffstats
path: root/images/Makefile.mxs
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.mxs
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.mxs')
-rw-r--r--images/Makefile.mxs1
1 files changed, 0 insertions, 1 deletions
diff --git a/images/Makefile.mxs b/images/Makefile.mxs
index 733f83bd1f..c93fb571f2 100644
--- a/images/Makefile.mxs
+++ b/images/Makefile.mxs
@@ -18,7 +18,6 @@ quiet_cmd_mxs_sd = MXS-SD $@
$(obj)/%.mxssd: $(obj)/%
$(call if_changed,mxs_sd)
-board = $(srctree)/arch/$(ARCH)/boards
mxs23cfg = $(srctree)/arch/arm/mach-mxs/mxs23img.cfg
mxs28cfg = $(srctree)/arch/arm/mach-mxs/mxs28img.cfg