From: Wolfgang Denk Date: Sun, 25 Jan 2009 09:35:21 +0100 Subject: [U-Boot] Cloning, Maybe silly question In-Reply-To: <959751.81577.qm@web31812.mail.mud.yahoo.com> References: <959751.81577.qm@web31812.mail.mud.yahoo.com> Message-ID: <20090125083521.574FD832E416@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 Pink Boy, In message <959751.81577.qm@web31812.mail.mud.yahoo.com> you wrote: > > I have a suggestion/question. > > Would it be easy, hard, silly to add a CLONE command to the make > file? (Are a separate make script?) So if someone wants to create > a new board based on an existing board they could just type, Easy and silly. You cannot do such stuff automatically without doing stupid things like copying a lot of code that either is board specific or should be shared. > The make file would clone the at91sam9263ek board configuration > and put it in a new directory called myboard and update the > makefile? And what would that save you? 2 minutes of work in a one man-week task? 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 If it has syntax, it isn't user friendly.