From 2a2522eb8d5b1d358e78f40888d96f34a00898c6 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Fri, 6 Mar 2015 21:22:01 +0100 Subject: 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 Signed-off-by: Sascha Hauer --- images/Makefile.imx | 2 -- 1 file changed, 2 deletions(-) (limited to 'images/Makefile.imx') 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 -- cgit v1.2.3