[Buildroot] [PATCH 4/4] package/android-tools: add host gcc >= 5 dependency

Yann E. MORIN yann.morin.1998 at free.fr
Wed Jan 5 21:02:08 UTC 2022


Fabrice, All,

On 2022-01-05 19:04 +0100, Fabrice Fontaine spake thusly:
> Commit 56d9b887685c86fd4fbadda247cdbe733d499e81 forgot to add host
> gcc >= 5 dependency
> 
> Fixes:
>  - No autobuilder failures (yet)
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/android-tools/Config.in.host | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/package/android-tools/Config.in.host b/package/android-tools/Config.in.host
> index 433f4e384f..576e53e8b5 100644
> --- a/package/android-tools/Config.in.host
> +++ b/package/android-tools/Config.in.host
> @@ -10,12 +10,16 @@ config BR2_PACKAGE_HOST_ANDROID_TOOLS
>  if BR2_PACKAGE_HOST_ANDROID_TOOLS
>  
>  config BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
> +	depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol
>  	bool "fastboot"
>  	help
>  	  This option will build and install the fastboot utility for
>  	  the host, which can be used to reflash target devices
>  	  implementing the fastboot protocol.
>  
> +comment "fastboot needs a toolchain w/ host gcc >= 5"
> +	depends on !BR2_HOST_GCC_AT_LEAST_5
> +
>  config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB
>  	bool "adb"
>  	help
> @@ -24,10 +28,14 @@ config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB
>  	  implementing the ADB protocol.
>  
>  config BR2_PACKAGE_HOST_ANDROID_TOOLS_EXT4_UTILS
> +	depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol

    $ make check-package
    package/android-tools/Config.in.host:14: attributes order: type, default, depends on, select, help (http://nightly.buildroot.org/#_config_files)
    package/android-tools/Config.in.host:32: attributes order: type, default, depends on, select, help (http://nightly.buildroot.org/#_config_files)   

Applied to master after fixing this, thanks.

Regards,
Yann E. MORIN.

>  	bool "ext4 utils"
>  	help
>  	  This option will build and install the ext4 utils for the
>  	  host, i.e. make_ext4fs, ext4fixup, ext2simg, img2simg,
>  	  simg2img and simg2simg.
>  
> +comment "ext4 utils needs a toolchain w/ host gcc >= 5"
> +	depends on !BR2_HOST_GCC_AT_LEAST_5
> +
>  endif
> -- 
> 2.34.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