mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
fix QT5 path
This commit is contained in:
parent
7d1a6f4012
commit
09d47f0cb7
@ -65,7 +65,7 @@ endef
|
||||
define Package/qt5-sql
|
||||
$(call Package/qt5/Default)
|
||||
TITLE+=sql
|
||||
DEPENDS+=+qt5-core
|
||||
DEPENDS+=+qt5-core +libmariadbclient
|
||||
endef
|
||||
|
||||
define Package/qt5-xml
|
||||
@ -74,6 +74,12 @@ define Package/qt5-xml
|
||||
DEPENDS+=+qt5-core
|
||||
endef
|
||||
|
||||
define Package/qt5-serialport
|
||||
$(call Package/qt5/Default)
|
||||
TITLE+=serialport
|
||||
DEPENDS+=+qt5-core
|
||||
endef
|
||||
|
||||
define Package/qt5-xmlpatterns
|
||||
$(call Package/qt5/Default)
|
||||
TITLE+=xmlpatterns
|
||||
@ -109,6 +115,7 @@ define Build/Configure
|
||||
-no-opengl \
|
||||
-no-directfb \
|
||||
-no-xcb \
|
||||
-no-ssl \
|
||||
-qt-zlib \
|
||||
-qt-pcre \
|
||||
-qt-freetype \
|
||||
@ -131,6 +138,12 @@ define Build/Compile
|
||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) install
|
||||
$(CP) $(PKG_BUILD_DIR)/qtbase/bin/qmake $(TOOLCHAIN_DIR)/bin/
|
||||
$(CP) $(PKG_BUILD_DIR)/qtbase/bin/qt.conf $(TOOLCHAIN_DIR)/bin/
|
||||
endef
|
||||
|
||||
define Package/qt5-core/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5Core.so* $(1)/usr/lib/
|
||||
@ -189,6 +202,13 @@ define Package/qt5-xml/install
|
||||
$(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5Xml.la $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/qt5-serialport/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_BUILD_DIR)/qtserialport/lib/libQt5SerialPort.so* $(1)/usr/lib/
|
||||
$(CP) $(PKG_BUILD_DIR)/qtserialport/lib/libQt5SerialPort.prl $(1)/usr/lib/
|
||||
$(CP) $(PKG_BUILD_DIR)/qtserialport/lib/libQt5SerialPort.la $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/qt5-xmlpatterns/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_BUILD_DIR)/qtxmlpatterns/lib/libQt5XmlPatterns.so* $(1)/usr/lib/
|
||||
@ -209,5 +229,6 @@ $(eval $(call BuildPackage,qt5-network))
|
||||
$(eval $(call BuildPackage,qt5-widgets))
|
||||
$(eval $(call BuildPackage,qt5-sql))
|
||||
$(eval $(call BuildPackage,qt5-xml))
|
||||
$(eval $(call BuildPackage,qt5-serialport))
|
||||
$(eval $(call BuildPackage,qt5-xmlpatterns))
|
||||
$(eval $(call BuildPackage,qt5-test))
|
||||
|
Loading…
Reference in New Issue
Block a user