diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-06-08 16:15:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-06-08 17:09:57 +0200 |
commit | b2c75ecc5d904bfc8ad63aa5ad1d0a300d17188b (patch) | |
tree | cb9139098d50a973a05c82f6932480e0ebbb9d85 /docs/manual/adding-packages-virtual.txt | |
parent | f93edd823fb020721ba84dcecbac37c668260b8f (diff) | |
download | buildroot-b2c75ecc5d904bfc8ad63aa5ad1d0a300d17188b.tar.gz buildroot-b2c75ecc5d904bfc8ad63aa5ad1d0a300d17188b.zip |
support/scripts: who's responsible to decide what is a package
When generating the package lists, the responsibility to decide what is
actually a package symbol is currently split between the _is_package(),
the get_symbol_subset() and the format_asciidoc_table() functions.
The two latter functions check that an item is really a symbol, and that
is has a prompt.
While this is currently correct for real packages, this will no longer
be the case when we also generate a list of virtual packages, since they
do not have a prompt.
Move the responsibility to verify that a symbol is indeed a package symbol
to _is_package(), so it's all in one place, and makes it easier to change
for virtual packages.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/adding-packages-virtual.txt')
0 files changed, 0 insertions, 0 deletions