From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Tyser Date: Thu, 09 Jul 2009 11:36:11 -0500 Subject: [U-Boot] [PATCH 9/9] Move api_examples to api/examples In-Reply-To: References: <1247152106-10678-1-git-send-email-ptyser@xes-inc.com> <1247152106-10678-10-git-send-email-ptyser@xes-inc.com> Message-ID: <1247157371.905.16.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Rafal, On Thu, 2009-07-09 at 18:22 +0200, Rafal Jaworowski wrote: > On 2009-07-09, at 17:08, Peter Tyser wrote: > > > Signed-off-by: Peter Tyser > > --- > > Makefile | 4 ++-- > > {api_examples => api/examples}/.gitignore | 0 > > {api_examples => api/examples}/Makefile | 8 ++++---- > > {api_examples => api/examples}/crt0.S | 0 > > {api_examples => api/examples}/demo.c | 0 > > {api_examples => api/examples}/glue.c | 0 > > {api_examples => api/examples}/glue.h | 0 > > {api_examples => api/examples}/libgenwrap.c | 0 > > Hi Peter, > 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. Hi Rafal, 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 the number of API applications grows from the current "example", we're not going to put them in their own /api_app1, /api_app2, etc directories, are we? Wouldn't /api/app1, /api/app2, etc make more sense? Let me know if I'm missing something. Best, Peter