From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 10 Oct 2010 17:46:38 +0200 Subject: [U-Boot] RFQ: Makefile cleanup In-Reply-To: <20101010151418.C169F14F310@gemini.denx.de> References: <20101006195427.E4EFC1539A0@gemini.denx.de> <4CACD92B.5070300@free.fr> <20101006154256.20239b92@udp111988uds.am.freescale.net> <20101010151418.C169F14F310@gemini.denx.de> Message-ID: <20101010154638.288CC544@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 Hi all In message <20101010151418.C169F14F310@gemini.denx.de> I wrote: > > > Well, that addresses the line length argument, at the cost of complexity > > and syntax obscurity. But I changing TEXT_BASE to CONFIG_SYS_TEXT_BASE > > is something we probably want to do anyway. If we ever switch to > > kconfig, and we want the text base to be part of that, it will have to > > start with CONFIG_. > > OK. I tried this, but I'm actually running into a catch-22 situation > after moving the CONFIG_SYS_TEXT_BASE settings into boards.cfg: Some > boards (especially such that support both booting from NOR or, > alternatively, from NAND flash, or from RAM) contain only a default > setting for CONFIG_SYS_TEXT_BASE in their board specific config.mk > file. For example "board/amcc/sequoia/config.mk": In case anybody what's to see this problem in action, I've pushed my current working tree into the "Makefile-cleanup" branch of the u-boot-testing repository, see http://git.denx.de/?p=u-boot/u-boot-testing.git;a=shortlog;h=refs/heads/Makefile-cleanup 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 No man knows what true happiness is until he gets married. By then, of course, its too late.