aboutsummaryrefslogtreecommitdiff
path: root/package/qt5/qt5base/qt5base.mk
diff options
context:
space:
mode:
authorGravatar James Grant <james.grant@jci.com>2019-03-01 15:17:11 +1300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-01 10:12:36 +0100
commitd69d9db3ce0ba59193edbe81d8299a2aee8c61a4 (patch)
tree5b897b7146fbdbf74c78632f9487d6283678301c /package/qt5/qt5base/qt5base.mk
parent2eb31511f52a172b5091f925484b7ed875754dc7 (diff)
downloadbuildroot-d69d9db3ce0ba59193edbe81d8299a2aee8c61a4.tar.gz
buildroot-d69d9db3ce0ba59193edbe81d8299a2aee8c61a4.tar.bz2
package/qt5/qt5base: add custom configure options last
This allows all options set by Buildroot to be overridden. Signed-off-by: James Grant <james.grant@jci.com> [Peter: drop original line as pointed out by Thomas] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt5/qt5base/qt5base.mk')
-rw-r--r--package/qt5/qt5base/qt5base.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 11c6684812..e71878a487 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -52,8 +52,6 @@ else
# option '-no-avx512' (available for latest only)
endif
-QT5BASE_CONFIGURE_OPTS += $(call qstrip,$(BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS))
-
ifeq ($(BR2_PACKAGE_LIBDRM),y)
QT5BASE_CONFIGURE_OPTS += -kms
QT5BASE_DEPENDENCIES += libdrm
@@ -296,6 +294,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))
+
define QT5BASE_CONFIGURE_CMDS
mkdir -p $(@D)/mkspecs/devices/linux-buildroot-g++/
sed 's/@EGLFS_DEVICE@/$(QT5BASE_EGLFS_DEVICE)/g' \