[PATCH 1/2 v3] rewrite build system to avoid recursion

Artem Bityutskiy dedekind1 at gmail.com
Mon Jun 27 02:11:24 EDT 2011


On Sat, 2011-06-25 at 13:20 -0400, Mike Frysinger wrote:
> The ubi-utils/src/ subdir is tossed as it just complicates things for no
> real gain.  The dictionary.h header is relocated to the ubi-utils/include/
> since other headers in there need it.
> 
> The top level clean is replaced with a `find -delete` on objects, so it
> might prune more than necessary, but many projects now do this sort of
> thing and no one complained there.
> 
> A "mkdep" helper generates the actual rule, and the variables are used
> with "foreach" to expand these automatically.
> 
> The tests subdir is updated only to reflect the ubi-utils source move.
> Otherwise, it is left untouched as making that non-recursive isn't really
> worth the effort.
> 
> While we're gutting things, also through in kbuild style output while
> building to make things more legible.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>

Pushed both, thanks, this makes a lot of difference!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list