From: Wolfgang Denk Date: Thu, 09 Jul 2009 22:07:30 +0200 Subject: [U-Boot] [PATCH 9/9] Move api_examples to api/examples In-Reply-To: <1247157371.905.16.camel@localhost.localdomain> References: <1247152106-10678-1-git-send-email-ptyser@xes-inc.com> <1247152106-10678-10-git-send-email-ptyser@xes-inc.com> <1247157371.905.16.camel@localhost.localdomain> Message-ID: <20090709200730.0D8B5832E416@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 Peter Tyser, In message <1247157371.905.16.camel@localhost.localdomain> you wrote: > > > Please don't do this. I would like to have api_examples stay clear > > from the API proper and such organization was introduced on purpose. > > While the core API code is integral part of U-Boot code image, the > > example/demo/other app is physically separate tangible entity. I think > > it seems proper that directories' layout reflects this. What we could > > do is provide a top level directory grouping all items non-integral > > wrt U-Boot itself (examples, api_examples) and put them there. > > I don't really follow... The api_example/ directory is an example of > how to use the functionality provided by the code in the api/ directory, > right? If so, they are very closely related and I'd argue that the > api_example/ directory should be moved into api/ since conceptually it > makes more sense as well as cleans up the directory structure. If a directory gets created, I'd prefer to see this under examples/api/ then, assuming that more types of example code might get added over time, and I think it would be nice to have these together. 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 In the realm of scientific observation, luck is granted only to those who are prepared. - Louis Pasteur