[Buildroot] [PATCH 04/80 v1] package/angularjs: simplify modules selection

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jan 18 21:48:19 UTC 2016


Yann,

On Sat, 16 Jan 2016 23:36:56 +0100, Yann E. MORIN wrote:
> Remove the superfluous config option, and make all modules default to
> 'y', which provides exactly the same functionality.
> 
> simplify (and slightly beautify) the handling of modules in the .mk:
> since the modules' symbols are always meaningful now, we can get rid of
> the else-clause, and always build the list of modules using the Kconfig
> options.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> 
> ---

You have an empty line at the end of many commit logs.

I agree with the principle of the patch, but sometimes is odd:


> +# This list mirrors the list of available modules from Config.in.
> +# Keep this list in sync and in the same (alphabetical) order as the
> +# one in Config.in. However, always keep 'angular' first in the list.

You say "angular" must be first in the list...

> +ANGULARJS_MODULES = \
> +	animate \
> +	aria \
> +	cookies \
> +	messages \
> +	message-format \
> +	resource \
> +	route \
> +	sanitize \
> +	touch

But there is no "angular" in this list.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list