[U-Boot] [PATCH v2 2/6] Move lib_ directories to lib/

Scott Wood
2009-12-07T21:42:08Z

Wolfgang Denk wrote:
> Dear Peter Tyser,
>
> In message <1258943983.9357.20.camel@ptyser-laptop> you wrote:
>> My personal preference would be to take it a step further and organize
>> like:
>>
>> /arch/$ARCH/
>> /lib/<sources currently in lib_$ARCH/>
>> /include/asm/<headers currently in incluce/asm-$ARCH/>
>> /cpu/<appropriate cpu directories in cpu/>
>> /config.mk (old lib_$ARCH/config.mk)
>>
>> /lib/
>> /
>> /libfdt/
>> /lzma/
>> /lzo/
>>
>> This layout would more closely match the Linux layout and is cleaner
>> overall in my opinion. What do others think of this idea?
>
> I generally agree with the idea, with the exception of
> /include/asm/<headers> - I really hate this change in the Linux
> kernel, and still fail to see any advantages of this.

I really like only having one subtree to grep for arch stuff, and it
would avoid presenting files that are in git, under a path that git
doesn't know about.

Plus, the symlink is one less thing that the makefiles would need to
keep in sync when arch changes.

-Scott