[Buildroot] [PATCH 1/2] package/qt5/qt5base: add custom configure options last

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Mar 1 07:28:15 UTC 2019


Hello James,

On Fri, 1 Mar 2019 15:17:11 +1300
James Grant <james.grant at jci.com> wrote:

> This allows all options set by Buildroot to be overridden.
> 
> Signed-off-by: James Grant <james.grant at jci.com>
> ---
>  package/qt5/qt5base/qt5base.mk | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
> index 11c6684812..8c0f5f0c9f 100644
> --- a/package/qt5/qt5base/qt5base.mk
> +++ b/package/qt5/qt5base/qt5base.mk
> @@ -296,6 +296,9 @@ define QT5BASE_CONFIGURE_HOSTCC
>  	$(SED) 's,^QMAKE_CXX\s*=.*,QMAKE_CXX = $(HOSTCXX),' $(@D)/mkspecs/common/g++-base.conf
>  endef
>  
> +# Must be last so can override all options set by Buildroot
> +QT5BASE_CONFIGURE_OPTS += $(call qstrip,$(BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS))

Shouldn't this line also be removed from where it originally was ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list