[Buildroot] [PATCHv4 5/5] manual: fix manual generation with BR2_EXTERNAL support
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Nov 30 23:10:40 UTC 2013
Samuel, All,
On 2013-11-29 20:00 +0100, Thomas Petazzoni spake thusly:
> From: Samuel Martin <s.martin49 at gmail.com>
>
> Reported-by: Ryan Barnett <rjbarnet at rockwellcollins.com>
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Signed-off-by: Ryan Barnett <rjbarnet at rockwellcollins.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> docs/manual/manual.mk | 1 +
> support/scripts/kconfiglib.py | 2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk
> index aeafd10..570318f 100644
> --- a/docs/manual/manual.mk
> +++ b/docs/manual/manual.mk
> @@ -1,6 +1,7 @@
> manual-update-lists: manual-check-dependencies-lists
> $(Q)$(call MESSAGE,"Updating the manual lists...")
> $(Q)BR2_DEFCONFIG="" TOPDIR=$(TOPDIR) O=$(O)/docs/manual/.build \
> + BR2_EXTERNAL=$(TOPDIR)/support/dummy-external \
I think I understand that change: we do not want to generate the manual
with the external packages. Please extend the commit log.
> $(TOPDIR)/support/scripts/gen-manual-lists.py
>
> # we can't use suitable-host-package here because that's not available in
> diff --git a/support/scripts/kconfiglib.py b/support/scripts/kconfiglib.py
> index 0704cc0..e40947c 100644
> --- a/support/scripts/kconfiglib.py
> +++ b/support/scripts/kconfiglib.py
> @@ -2074,7 +2074,7 @@ set_re = re.compile(r"CONFIG_(\w+)=(.*)")
> unset_re = re.compile(r"# CONFIG_(\w+) is not set")
>
> # Regular expression for finding $-references to symbols in strings
> -sym_ref_re = re.compile(r"\$[A-Za-z_]+")
> +sym_ref_re = re.compile(r"\$[A-Za-z_][0-9A-Za-z_]*")
I fail to see how this change is related to BR2_EXTERNAL. Care to
explain (and extend the commit log at the same time), please?
> # Integers representing symbol types
> UNKNOWN, BOOL, TRISTATE, STRING, HEX, INT = range(0, 6)
> --
> 1.8.1.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list