From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 10/84 RFC] package/angularjs: simplify modules selection
Date: Thu, 31 Dec 2015 17:33:36 +0100 [thread overview]
Message-ID: <20151231163336.GA3495@free.fr> (raw)
In-Reply-To: <56846879.90902@mind.be>
Arnout, All,
On 2015-12-31 00:27 +0100, Arnout Vandecappelle spake thusly:
> On 25-12-15 22:24, 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 beautofy) 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.
> >
> > Re-order the list alphabetically (message <-> message-format).
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > ---
> > package/angularjs/Config.in | 35 +++++++++++++++++++++--------------
> > package/angularjs/angularjs.mk | 24 +++++++++++++++---------
> > 2 files changed, 36 insertions(+), 23 deletions(-)
> >
> > diff --git a/package/angularjs/Config.in b/package/angularjs/Config.in
> > index 206b3d8..ee1dbbf 100644
> > --- a/package/angularjs/Config.in
> > +++ b/package/angularjs/Config.in
> > @@ -7,16 +7,17 @@ menuconfig BR2_PACKAGE_ANGULARJS
> >
> > if BR2_PACKAGE_ANGULARJS
> >
> > -config BR2_ANGULARJS_MODULES
> > - bool "angularjs modules"
> > - help
> > - Select which modules to install. If disabled, all modules
> > - will be installed.
> > +# All the modules default to 'y' to keep backward-compatibility
>
> I don't think this comment is needed, because it will no longer be true in the
> future.
>
> > +# Keep this list in sync and in the same (alphabetical) order as # the
> > +# one in angularjs.mk. However, always keep 'angular' first in the list.
>
> I don't think this comment is needed either. We don't have something like that
> at the top of package/Config.in for instance. And it's not that things stop to
> work if it's not alphabetical.
>
> >
> > -if BR2_ANGULARJS_MODULES
> > +config BR2_ANGULARJS_MODULE_ANGULAR
> > + bool
> > + default y
>
> I don't like this part either, see below.
>
> [snip]
>
> > diff --git a/package/angularjs/angularjs.mk b/package/angularjs/angularjs.mk
> > index 60dbdb6..20a129d 100644
> > --- a/package/angularjs/angularjs.mk
> > +++ b/package/angularjs/angularjs.mk
> > @@ -17,18 +17,24 @@ define ANGULARJS_EXTRACT_CMDS
> > rmdir $(@D)/angular-$(ANGULARJS_VERSION)
> > endef
> >
> > -ANGULARJS_FILES = angular
>
> I prefered it like this, with the angular bit always there and the rest added
> by Kconfig options. Simpler than adding a dummy Kconfig option for angular itself.
I was not 100% sure either, so I'll revert it.
Thanks! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-12-31 16:33 UTC|newest]
Thread overview: 134+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-25 21:25 [Buildroot] [PATCH 0/84 RFC] all: use 'menuconfig' to group sub-options (branch yem/menuconfig) Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 01/84 RFC] package/alsa-lib: move comment around, to keep proper indentation Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 02/84 RFC] package/gstreamer: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 03/84 RFC] package/gstreamer1: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 04/84 RFC] package/nodejs: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 05/84 RFC] package/tcl: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 06/84 RFC] package/udpcast: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 07/84 RFC] package/alsa-lib: use 'menuconfig' instad of 'config'+'menu' Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 08/84 RFC] package/alsa-utils: use 'menuconfig' instead " Yann E. MORIN
2015-12-30 23:03 ` Arnout Vandecappelle
2015-12-30 23:09 ` Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 09/84 RFC] package/angularjs: use 'menuconfig' instad " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 10/84 RFC] package/angularjs: simplify modules selection Yann E. MORIN
2015-12-30 23:27 ` Arnout Vandecappelle
2015-12-31 16:33 ` Yann E. MORIN [this message]
2015-12-25 21:24 ` [Buildroot] [PATCH 11/84 RFC] package/collectd: use 'menuconfig' instead of 'config'+'menu' Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 12/84 RFC] package/gd: use 'menuconfig' instad " Yann E. MORIN
2015-12-30 23:32 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 13/84 RFC] package/gpsd: use 'menuconfig' instead " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 14/84 RFC] package/jquery: include external plugins from jquery's Config.in Yann E. MORIN
2015-12-30 23:45 ` Arnout Vandecappelle
2015-12-31 17:17 ` Yann E. MORIN
2016-01-02 0:21 ` Arnout Vandecappelle
2016-01-02 0:22 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 15/84 RFC] package/libdrm: move tests programs to the bottom Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 16/84 RFC] package/libdrm: use 'menuconfig' instad of 'config'+'menu' Yann E. MORIN
2015-12-30 23:46 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 17/84 RFC] package/mono: use 'menuconfig' instead " Yann E. MORIN
2015-12-30 23:48 ` Arnout Vandecappelle
2016-01-02 0:25 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 18/84 RFC] package/ncftp: use 'menuconfig' instad " Yann E. MORIN
2015-12-30 23:48 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 19/84 RFC] package/nfs-utils: use 'menuconfig' instead " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 20/84 RFC] package/nodejs: " Yann E. MORIN
2015-12-30 23:49 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 21/84 RFC] package/ola: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 22/84 RFC] package/perl: " Yann E. MORIN
2015-12-30 23:53 ` Arnout Vandecappelle
2016-01-02 0:33 ` Arnout Vandecappelle
2016-01-02 10:10 ` Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 23/84 RFC] package/php: move list of extensions after interface selection Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 24/84 RFC] package/php: use 'menuconfig' instad of 'config'+'menu' Yann E. MORIN
2015-12-30 23:57 ` Arnout Vandecappelle
2016-01-02 0:48 ` Arnout Vandecappelle
2016-01-02 10:28 ` Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 25/84 RFC] package/python: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 26/84 RFC] package/python3: " Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 27/84 RFC] package/python{, 3}: move inclusion of external python modules Yann E. MORIN
2015-12-30 23:59 ` Arnout Vandecappelle
2016-01-02 0:54 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 28/84 RFC] package/sdl_image: use 'menuconfig' instead of 'config'+'menu' Yann E. MORIN
2015-12-25 21:24 ` [Buildroot] [PATCH 29/84 RFC] package/tcl: use 'menuconfig' instad " Yann E. MORIN
2015-12-31 0:03 ` Arnout Vandecappelle
2016-01-02 0:55 ` Arnout Vandecappelle
2015-12-25 21:24 ` [Buildroot] [PATCH 30/84 RFC] package/tiff: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 31/84 RFC] package/udpcast: " Yann E. MORIN
2015-12-31 0:08 ` Arnout Vandecappelle
2015-12-31 17:20 ` Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 32/84 RFC] package/gstreamer: include plugins from gstreamer's real Config.in Yann E. MORIN
2015-12-31 0:12 ` Arnout Vandecappelle
2015-12-31 17:23 ` Yann E. MORIN
2016-01-02 1:21 ` Arnout Vandecappelle
2016-01-02 10:34 ` Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 33/84 RFC] package/gstreamer: use 'menuconfig' instead of 'config'+'menu' Yann E. MORIN
2015-12-31 0:14 ` Arnout Vandecappelle
2015-12-31 17:25 ` Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 34/84 RFC] package/gstreamer1: include plugins from gstreamer1's real Config.in Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 35/84 RFC] package/gstreamer1: use 'menuconfig' instead of 'config'+'menu' Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 36/84 RFC] docs/manual: slightly compactify a paragraph Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 37/84 RFC] docs/manual: add ordering of kconfig options' attributes Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 38/84 RFC] docs/manual: add example about sub-options Yann E. MORIN
2015-12-31 0:17 ` Arnout Vandecappelle
2015-12-31 17:26 ` Yann E. MORIN
2016-01-02 1:23 ` Arnout Vandecappelle
2016-01-02 10:35 ` Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 39/84 RFC] docs/manual: use 'menuconfig' when there are more than 5 sub-options Yann E. MORIN
2015-12-31 0:21 ` Arnout Vandecappelle
2015-12-25 21:25 ` [Buildroot] [PATCH 40/84 RFC] package/valgrind: use 'menuconfig' Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 41/84 RFC] package/e2fsprogs: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 42/84 RFC] package/mtd: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 43/84 RFC] package/squashfs: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 44/84 RFC] package/dejavu: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 45/84 RFC] package/google-material-design-icons: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 46/84 RFC] package/directfb: " Yann E. MORIN
2016-01-02 1:30 ` Arnout Vandecappelle
2016-01-02 11:03 ` Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 47/84 RFC] package/efl: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 48/84 RFC] package/sdl: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 49/84 RFC] package/sdl: include SDL external libraries from sdl's Config.in Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 50/84 RFC] package/sdl_*: remove redundant dependency Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 51/84 RFC] package/lm-sensors: use 'menuconfig' Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 52/84 RFC] package/openocd: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 53/84 RFC] package/erlang: include Erlang libraries from erlang's Config.in Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 54/84 RFC] package/lua{, jit}: move inclusion of external libraries/modules Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 55/84 RFC] package/sqlite: use 'menuconfig' Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 56/84 RFC] package/cairo: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 57/84 RFC] package/imlib2: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 58/84 RFC] package/libiio: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 59/84 RFC] package/flot: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 60/84 RFC] package/boost: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 61/84 RFC] package/poco: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 62/84 RFC] package/ncurses: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 63/84 RFC] package/dovecot: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 64/84 RFC] package/gnuradio: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 65/84 RFC] package/gnuradio: split long omment Yann E. MORIN
2016-01-02 21:44 ` Arnout Vandecappelle
2016-01-11 7:42 ` gwenhael.goavec
2015-12-25 21:25 ` [Buildroot] [PATCH 66/84 RFC] package/connman: use 'menuconfig' Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 67/84 RFC] package/dnsmasq: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 68/84 RFC] package/dropbear: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 69/84 RFC] package/igh-ethercat: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 70/84 RFC] package/ipsec-tools: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 71/84 RFC] package/lftp: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 72/84 RFC] package/lighttpd: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 73/84 RFC] package/ndisc6: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 74/84 RFC] package/netsnmp: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 75/84 RFC] package/ntp: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 76/84 RFC] package/openobex: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 77/84 RFC] package/quagga: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 78/84 RFC] package/transmission: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 79/84 RFC] package/wpa-supplicant: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 80/84 RFC] boot/at91bootstrap3: " Yann E. MORIN
2016-01-02 21:56 ` Arnout Vandecappelle
2015-12-25 21:25 ` [Buildroot] [PATCH 81/84 RFC] boot/barebox: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 82/84 RFC] boot/grub: " Yann E. MORIN
2016-01-02 22:09 ` Arnout Vandecappelle
2015-12-25 21:25 ` [Buildroot] [PATCH 83/84 RFC] boot/mxs-bootlets: " Yann E. MORIN
2015-12-25 21:25 ` [Buildroot] [PATCH 84/84 RFC] boot/uboot: " Yann E. MORIN
2015-12-28 16:59 ` [Buildroot] [PATCH 0/84 RFC] all: use 'menuconfig' to group sub-options (branch yem/menuconfig) Thomas Petazzoni
2015-12-31 0:23 ` Arnout Vandecappelle
2015-12-31 17:28 ` Yann E. MORIN
2016-01-02 1:47 ` Arnout Vandecappelle
2016-01-02 11:09 ` Yann E. MORIN
2016-01-02 22:11 ` Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151231163336.GA3495@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox