qt5: move Build/Install/HostFiles from common.mk to qmake.mk

This directive is for target specific host files which can only result
in qmake builds.
This commit is contained in:
Mirko Vogt
2025-05-18 16:29:45 +00:00
parent 45d8e4b6a7
commit 580d0fcc8e
2 changed files with 10 additions and 9 deletions

View File

@@ -69,15 +69,6 @@ PKG_BUILD_FLAGS?=no-mips16
PKG_INSTALL?=1
define Build/Install/HostFiles
$(INSTALL_DIR) \
$(1)/host
$(CP) \
$(PKG_INSTALL_DIR)/host/* \
$(1)/host/
endef
define Build/Install/Headers
$(INSTALL_DIR) \
$(1)/$(QT_INSTALL_HEADERS)

View File

@@ -113,3 +113,13 @@ define Host/Install/Default
$(MAKE) -C $(HOST_BUILD_DIR)/$(MAKE_PATH) \
$(1) install
endef
# target specific host builds triggered by target qmake runs
define Build/Install/HostFiles
$(INSTALL_DIR) \
$(STAGING_DIR)/host
$(CP) \
$(PKG_INSTALL_DIR)/host/* \
$(STAGING_DIR)/host/
endef