From: Scott Wood Date: Thu, 31 Mar 2011 12:53:06 -0500 Subject: [U-Boot] [PATCH] Fix build issues cause by LDFLAGS_FINAL changes In-Reply-To: <1301583151-23170-1-git-send-email-wd@denx.de> References: <20110331105346.32058F03208@gemini.denx.de> <1301583151-23170-1-git-send-email-wd@denx.de> Message-ID: <20110331125306.63e7699a@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 31 Mar 2011 16:52:31 +0200 Wolfgang Denk 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 > --- > 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