[PATCH 1/2] images: move board variable to parent makefile

Sascha Hauer s.hauer at pengutronix.de
Mon Mar 9 03:53:21 PDT 2015


On Fri, Mar 06, 2015 at 09:22:01PM +0100, Lucas Stach wrote:
> 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 at lynxeye.de>
> ---
>  images/Makefile          | 2 ++
>  images/Makefile.imx      | 2 --
>  images/Makefile.mvebu    | 2 --
>  images/Makefile.mxs      | 1 -
>  images/Makefile.rockchip | 2 --
>  images/Makefile.tegra    | 2 --
>  6 files changed, 2 insertions(+), 9 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list