[Buildroot] [PATCH 1/1] package/syslinux: disable documentation

Yann E. MORIN yann.morin.1998 at free.fr
Sun Aug 14 20:43:26 UTC 2022


Fabrice, All,

On 2022-08-14 22:20 +0200, Fabrice Fontaine spake thusly:
> Disable documentation to avoid the following build failure if a non
> working asciidoc or a2x is found on the system:
> 
> asciidoc -o html/syslinux.html /nvmedata/autobuild/instance-3/output-1/build/syslinux-6.03/txt/syslinux.txt
> /nvmedata/autobuild/instance-3/output-1/per-package/syslinux/host/bin/python3: No module named asciidoc
> 
> Setting {ASCIIDOC,A2X_XML}_OK to a value different of 0 will disable
> html, man, xhtml and text documentation
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/47f876ccb56831cc1bb9e6c2f7dbce423581a0dd
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  boot/syslinux/syslinux.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk
> index 2df415fcfd..cc52c49aee 100644
> --- a/boot/syslinux/syslinux.mk
> +++ b/boot/syslinux/syslinux.mk
> @@ -58,6 +58,8 @@ SYSLINUX_POST_PATCH_HOOKS += SYSLINUX_CLEANUP
>  # be used.
>  define SYSLINUX_BUILD_CMDS
>  	$(TARGET_MAKE_ENV) $(MAKE1) \
> +		ASCIIDOC_OK=-1 \
> +		A2X_XML_OK=-1 \
>  		CC="$(TARGET_CC)" \
>  		LD="$(TARGET_LD)" \
>  		OBJCOPY="$(TARGET_OBJCOPY)" \
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list