[U-Boot] [RFC PATCH 3/4] Add new folder and build system for SPL
Aneesh V
aneesh at ti.com
Fri Jul 8 15:50:14 CEST 2011
On Friday 08 July 2011 07:11 PM, Wolfgang Denk wrote:
> Dear Aneesh V,
>
> In message<4E170601.1080000 at 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
>
> ?
ok. Thanks.
best regards,
Aneesh
More information about the U-Boot
mailing list