From: Wolfgang Denk Date: Fri, 22 Feb 2008 12:07:00 +0100 Subject: [U-Boot-Users] [PATCH] add target for $(LDSCRIPT) In-Reply-To: Your message of "Sat, 16 Feb 2008 02:12:37 EST." <1203145957-23858-1-git-send-email-vapier@gentoo.org> Message-ID: <20080222110700.6E405243AB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1203145957-23858-1-git-send-email-vapier@gentoo.org> you wrote: > If the $(LDSCRIPT) does not exist (normally it's board/$(BOARD)/u-boot.lds), > then change into the board directory and try and create it. This allows you > to generate the linker script on the fly based upon board defines (like the > Blackfin boards do). > > There should be no regressions due to this change as the normal case is to > already have a u-boot.lds file. If that's the case, then there's nothing to > generate, and so make will always exit. The fix here is that if the linker > script does not exist, the implicit rules take over and attempt to guess how > to generate the file. > > Signed-off-by: Mike Frysinger > --- > Makefile | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Use the Force, Luke.