[Top] [All Lists]

Re: CVS linux

To: "Maciej W. Rozycki" <>
Subject: Re: CVS linux
From: Dan Malek <>
Date: Fri, 13 Jun 2003 17:00:12 -0400
Cc: Geert Uytterhoeven <>, Jun Sun <>, Ralf Baechle <>, Linux/MIPS Development <>
Organization: Embedded Edge, LLC.
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.9) Gecko/20020411
Maciej W. Rozycki wrote:

 It looks as a good idea, although possibly an intermediate directory
would be desireable not to clutter arch/mips too much.  E.g:


From my experience with other architectures, fewer intermediate
directories are often useful, for example:


allows a maximum amount of code sharing and minimal duplication.
When you have lots of lower level directories, you often have
many identical files in them that should be shared, but are not,
causing support/update challenges.  For example:


keeps all manufacturer shared code in one place, and the board
files could be quite small.  I have the specific case right now
with a board vendor that has about six similar boards, all in
separate directories like this:


where the code is all identical in those files.  My first move is
going to be consolidation of all of the "board" directories into a
single "manufacturer" directory just to eliminate the overhead of
keeping all of these files consistent on updates.  Then, I'm just
going to prefix the board type to the unique file names.  I find
this much easier to maintain and to share code.  Common sense
file names using a standard manufacturer/board name prefix makes
the files just as easy to identify as separate directories.

It would be nice to see the defconfig files in their own directory,
that would be the single most useful way to eliminate some clutter :-)


        -- Dan

<Prev in Thread] Current Thread [Next in Thread>