[U-Boot] [PATCH] Fix build issues cause by LDFLAGS_FINAL changes

Scott Wood scottwood at freescale.com
Thu Mar 31 19:53:06 CEST 2011


On Thu, 31 Mar 2011 16:52:31 +0200
Wolfgang Denk <wd at denx.de> wrote:

> Commit 6dc1ece "Introduce a new linker flag LDFLAGS_FINAL" modified a
> number of Makefiles in a way that broke out-of-tree builds.  The
> problem was that $(nandobj) was used before it got defined.
> 
> Fix this.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  nand_spl/board/amcc/acadia/Makefile           |    6 +++---
>  nand_spl/board/amcc/bamboo/Makefile           |    6 +++---
>  nand_spl/board/amcc/canyonlands/Makefile      |    6 +++---
>  nand_spl/board/amcc/kilauea/Makefile          |    6 +++---
>  nand_spl/board/amcc/sequoia/Makefile          |    6 +++---
>  nand_spl/board/freescale/mpc8313erdb/Makefile |    6 +++---
>  nand_spl/board/freescale/mpc8315erdb/Makefile |    6 +++---
>  nand_spl/board/freescale/mpc8536ds/Makefile   |    6 +++---
>  nand_spl/board/freescale/mpc8569mds/Makefile  |    6 +++---
>  nand_spl/board/freescale/mpc8572ds/Makefile   |    6 +++---
>  nand_spl/board/sheldon/simpc8313/Makefile     |    6 +++---
>  11 files changed, 33 insertions(+), 33 deletions(-)

Also needed in da8xxevm, tx25, smdk6400, and mx31pdk.

Should also be done in p1_p2_rdb for consistency (it doesn't use nandobj in
LDFLAGS, but neither do the ohter 85xx that got updated).

-Scott



More information about the U-Boot mailing list