From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 08 Jul 2011 15:41:38 +0200 Subject: [U-Boot] [RFC PATCH 3/4] Add new folder and build system for SPL In-Reply-To: <4E170601.1080000@ti.com> References: <1309352967-5719-1-git-send-email-aneesh@ti.com> <1309883182-12854-1-git-send-email-daniel.schwierzeck@googlemail.com> <1309883182-12854-4-git-send-email-daniel.schwierzeck@googlemail.com> <20110708091721.79CCB126F38F@gemini.denx.de> <4E16EAE9.5070505@ti.com> <20110708123233.31C6B15794A4@gemini.denx.de> <4E16FD50.3090005@ti.com> <20110708130454.99AF3126F38F@gemini.denx.de> <4E170601.1080000@ti.com> Message-ID: <20110708134138.7040C126F38F@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 Aneesh V, In message <4E170601.1080000@ti.com> you wrote: > > Symlinks, copies are not involved in either case. My question was this: > Where should something like 'nand_spl/nand_boot.c' go in the new > framework? > > 1) spl/nand/nand_boot.c OR > 2) drivers/nand/spl_nand_boot.c I have no strong preferences here... > (2) Helps in having: > SPLOBJTREE := (OBJTREE)/spl > > where as with (1) we have: > SPLOBJTREE := (OBJTREE)/spl/obj > and with this nand_boot.o will be in > (OBJTREE)/spl/obj/spl/nand/nand_boot.o ! > > To me (2) looks cleaner, and goes well with the idea of having all > source files in the original source tree. Agreed. But maybe we can remove a redundant "nand" from the file name, like this: drivers/nand/spl_boot.c ? 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 "Faith: not *wanting* to know what is true." - Friedrich Nietzsche