|
@@ -53,6 +53,12 @@ QT5BASE_LICENSE = Commercial license
|
|
|
QT5BASE_REDISTRIBUTE = NO
|
|
|
endif
|
|
|
|
|
|
+QT5BASE_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_QT5BASE_CONFIG_FILE))
|
|
|
+
|
|
|
+ifneq ($(QT5BASE_CONFIG_FILE),)
|
|
|
+QT5BASE_CONFIGURE_OPTS += -qconfig buildroot
|
|
|
+endif
|
|
|
+
|
|
|
# Qt5 SQL Plugins
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y)
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y)
|
|
@@ -168,7 +174,14 @@ QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_PRINTSUPPORT) += Qt5PrintSupport
|
|
|
|
|
|
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_DBUS) += Qt5DBus
|
|
|
|
|
|
+ifneq ($(QT5BASE_CONFIG_FILE),)
|
|
|
+define QT5BASE_CONFIGURE_CONFIG_FILE
|
|
|
+ cp $(QT5BASE_CONFIG_FILE) $(@D)/src/corelib/global/qconfig-buildroot.h
|
|
|
+endef
|
|
|
+endif
|
|
|
+
|
|
|
define QT5BASE_CONFIGURE_CMDS
|
|
|
+ $(QT5BASE_CONFIGURE_CONFIG_FILE)
|
|
|
(cd $(@D); \
|
|
|
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
|
|
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
|