|
@@ -240,29 +240,6 @@ else
|
|
|
QT5BASE_CONFIGURE_OPTS += -no-journald
|
|
|
endif
|
|
|
|
|
|
-# Build the list of libraries to be installed on the target
|
|
|
-QT5BASE_INSTALL_LIBS_y += Qt5Core
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XCB) += Qt5XcbQpa
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_NETWORK) += Qt5Network
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_CONCURRENT) += Qt5Concurrent
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_SQL) += Qt5Sql
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_TEST) += Qt5Test
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XML) += Qt5Xml
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_OPENGL_LIB) += Qt5OpenGL
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS) += Qt5EglFSDeviceIntegration
|
|
|
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS) += Qt5EglFsKmsSupport
|
|
|
-endif
|
|
|
-ifeq ($(BR2_PACKAGE_GCNANO_BINARIES),y)
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS) += Qt5EglFsKmsSupport
|
|
|
-endif
|
|
|
-
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_GUI) += Qt5Gui
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_WIDGETS) += Qt5Widgets
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_PRINTSUPPORT) += Qt5PrintSupport
|
|
|
-
|
|
|
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_DBUS) += Qt5DBus
|
|
|
-
|
|
|
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV),y)
|
|
|
# use vivante backend
|
|
|
QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_viv
|
|
@@ -327,10 +304,6 @@ define QT5BASE_CONFIGURE_CMDS
|
|
|
)
|
|
|
endef
|
|
|
|
|
|
-define QT5BASE_BUILD_CMDS
|
|
|
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
|
|
-endef
|
|
|
-
|
|
|
# The file "qt.conf" can be used to override the hard-coded paths that are
|
|
|
# compiled into the Qt library. We need it to make "qmake" relocatable.
|
|
|
define QT5BASE_INSTALL_QT_CONF
|
|
@@ -338,41 +311,6 @@ define QT5BASE_INSTALL_QT_CONF
|
|
|
$(QT5BASE_PKGDIR)/qt.conf.in > $(HOST_DIR)/bin/qt.conf
|
|
|
endef
|
|
|
|
|
|
-define QT5BASE_INSTALL_STAGING_CMDS
|
|
|
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
|
|
- $(QT5BASE_INSTALL_QT_CONF)
|
|
|
-endef
|
|
|
-
|
|
|
-define QT5BASE_INSTALL_TARGET_LIBS
|
|
|
- for lib in $(QT5BASE_INSTALL_LIBS_y); do \
|
|
|
- cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib || exit 1 ; \
|
|
|
- done
|
|
|
-endef
|
|
|
-
|
|
|
-define QT5BASE_INSTALL_TARGET_PLUGINS
|
|
|
- if [ -d $(STAGING_DIR)/usr/lib/qt/plugins/ ] ; then \
|
|
|
- mkdir -p $(TARGET_DIR)/usr/lib/qt/plugins ; \
|
|
|
- cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins ; \
|
|
|
- fi
|
|
|
-endef
|
|
|
-
|
|
|
-define QT5BASE_INSTALL_TARGET_EXAMPLES
|
|
|
- if [ -d $(STAGING_DIR)/usr/lib/qt/examples/ ] ; then \
|
|
|
- mkdir -p $(TARGET_DIR)/usr/lib/qt/examples ; \
|
|
|
- cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/* $(TARGET_DIR)/usr/lib/qt/examples ; \
|
|
|
- fi
|
|
|
-endef
|
|
|
-
|
|
|
-ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
-define QT5BASE_INSTALL_TARGET_CMDS
|
|
|
- $(QT5BASE_INSTALL_TARGET_EXAMPLES)
|
|
|
-endef
|
|
|
-else
|
|
|
-define QT5BASE_INSTALL_TARGET_CMDS
|
|
|
- $(QT5BASE_INSTALL_TARGET_LIBS)
|
|
|
- $(QT5BASE_INSTALL_TARGET_PLUGINS)
|
|
|
- $(QT5BASE_INSTALL_TARGET_EXAMPLES)
|
|
|
-endef
|
|
|
-endif
|
|
|
+QT5BASE_POST_INSTALL_STAGING_HOOKS += QT5BASE_INSTALL_QT_CONF
|
|
|
|
|
|
-$(eval $(generic-package))
|
|
|
+$(eval $(qmake-package))
|