[U-Boot] [PATCH] kbuild: create a build directory automatically for out-of-tree build

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Apr 15 06:38:28 CEST 2014


Hi Tom,


On Fri, 28 Mar 2014 11:37:28 +0900
Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:

> Hi Tom,
> 
> 
> On Thu, 27 Mar 2014 13:20:33 -0400
> Tom Rini <trini at ti.com> wrote:
> 
> > On Mon, Mar 24, 2014 at 05:41:47PM -0600, Simon Glass wrote:
> > > +Tom
> > > 
> > > On 23 March 2014 22:55, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> > > 
> > > > Prior to Kbuild, the build system created a build directory,
> > > > when it did not exist, for out-of-tree build.
> > > >
> > > > This feature was dropped when we switched to Kbuild
> > > > because many of lines in makefiles were copied from Linux Kernel.
> > > > (In Linux Kernel, we have to create a build directory by ourselves
> > > > before starting build.)
> > > >
> > > > That feature seems worth reviving for less typing
> > > > even if our code and Linux Kernel diverge.
> > > >
> > > > Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> > > > Suggested-by: Simon Glass <sjg at chromium.org>
> > > >
> > > 
> > > Acked-by: Simon Glass <sjg at chromium.org>
> > > Tested-by: Simon Glass <sjg at chromium.org>
> > > 
> > > Arguably could be a bug-fix for this release.
> > 
> > Yeah, I like this and will pick it up.  The only question is, has this
> > idea already been rejected in the kernel?
> > 
> 
> I have not sent this patch to the kernel community yet.
> OK. I will.
> 

The good news is this feature was merged
in Linux Kernel mainline (commit 1c9e70a55).


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list