[Buildroot] [PATCH 1/2] package/sunxi-mali-utgard: rename from sunxi-mali-mainline

Luca Ceresoli luca at lucaceresoli.net
Thu Nov 4 09:26:04 UTC 2021


Hi Giulio,

thanks for these and the other olimex patches you are sending. Thomas
applied them faster than I could review and test them... let me try this
time :)

On 04/11/21 07:38, Giulio Benetti wrote:
> From: Miquel Raynal <miquel.raynal at bootlin.com>
> 
> This package provides Mali libraries for Sunxi Mali Utgard GPUs. The
> trailing -mainline is historical and was used at a time when there was
> two packages providing these libraries. The "non-upstream" package has
> been removed some time ago so before adding new packages bringing
> support for other ARM Mali GPU versions or implementations, rename
> sunxi-mali-mainline into sunxi-mali-utgard.
> 
> Add a legacy entry.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> [Giulio: rebase on master. Rename SUNXI_MALI_MAINLINE_REV to
> SUNXI_MALI_UTGARD_REV in sunxi-mali-mailine-driver.mk and
> BR2_PACKAGE_SUNXI_MALI_MAINLINE to BR2_PACKAGE_SUNXI_UTGARD in
> sunxi-mali-mainline-driver/Config.in to respect bisectability]

[...]

> diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig
> index ed279326bc..d0ebeb53a3 100644
> --- a/configs/olimex_a20_olinuxino_lime2_defconfig
> +++ b/configs/olimex_a20_olinuxino_lime2_defconfig
> @@ -32,7 +32,7 @@ BR2_LINUX_KERNEL_INSTALL_TARGET=y
>  
>  # sunxi packages
>  BR2_PACKAGE_SUNXI_TOOLS=y
> -BR2_PACKAGE_SUNXI_MALI_MAINLINE=y
> +BR2_PACKAGE_SUNXI_MALI_UTGARD=y
>  BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER=y
>  
>  # Filesystem
> diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig
> index cd88a2d19a..000071b11c 100644
> --- a/configs/olimex_a20_olinuxino_lime_defconfig
> +++ b/configs/olimex_a20_olinuxino_lime_defconfig
> @@ -32,7 +32,7 @@ BR2_LINUX_KERNEL_INSTALL_TARGET=y
>  
>  # sunxi packages
>  BR2_PACKAGE_SUNXI_TOOLS=y
> -BR2_PACKAGE_SUNXI_MALI_MAINLINE=y
> +BR2_PACKAGE_SUNXI_MALI_UTGARD=y
>  BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER=y
>  
>  # Filesystem

Both lime defconfigs still have this line:

  # glibc is needed for sunxi-mali-mainline-package.

which sould be updated.

While there, please change replace "-package" -> " package".

The rest looks good.
-- 
Luca


More information about the buildroot mailing list