From: Wolfgang Denk Date: Mon, 19 Sep 2011 08:54:35 +0200 Subject: [U-Boot] [PATCH] punt unused clean/distclean targets In-Reply-To: <201109190059.55664.vapier@gentoo.org> References: <1316323020-4027-1-git-send-email-vapier@gentoo.org> <201109180422.09040.vapier@gentoo.org> <4E75ED53.9020006@gmail.com> <201109190059.55664.vapier@gentoo.org> Message-ID: <20110919065435.272F41208F1E@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 Dear Mike Frysinger, In message <201109190059.55664.vapier@gentoo.org> you wrote: > > if it wasn't clear in my last e-mail, i want to move in the direction of .mk > files that the top level would include them and thus all the specific cruft > would be kept there Why should we do that? Having all build rules in a single, huge Makefile does not sound like something that is desirable (and in this context it does not make any difference if the file is actually a concatenation of all these build rules, or if it's hidden in a set of [probably even nested] includes). I'm still a big friend of organizing complex stuff in small, hierarchical structured pieces, so I have to u nderstand it only a small bit at a time. Yes, running a number of nested makes may have some performance penalty. But frankly: I care a ship about that when I can have the sofware design simpler and easier to maintain. > after all, the list of things to clean should be obvious once we have more > kbuild style system: if it's listed as a file to build, then it should get > cleaned. Keep in mind that you said yourslef we always want to remove _all_ build results - this includes evne those not "listed as a file to buil" for a specific configuration setting. 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 Here is an Appalachian version of management's answer to those who are concerned with the fate of the project: "Don't worry about the mule. Just load the wagon." - Mike Dennison's hillbilly uncle