From: Mirko Vogt Date: Tue, 21 Feb 2017 15:56:28 +0000 (+0100) Subject: make qt5base a build dependency for qt5base/host X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=32b3fa76c946b2f8d6aaa246f4af40001d7995a9;p=feed%2Fvideo.git make qt5base a build dependency for qt5base/host --- diff --git a/frameworks/qt5base/Makefile b/frameworks/qt5base/Makefile index 1490ff4..3fe52ca 100644 --- a/frameworks/qt5base/Makefile +++ b/frameworks/qt5base/Makefile @@ -27,6 +27,16 @@ HOST_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=librpc PKG_INSTALL:=1 PKG_USE_MIPS16:=0 +# Yes, the host build depends on the target build. This is not a mistake! +# The target build provides the (target specific) qmake.mk file which +# is also used for host builds. +# Host projects depend on qt5base/host which however don't build +# if qt5base didn't install the qmake.mk file before. +# Benefit of the target build providing qmake.mk instead of the host build +# is that the host build really only needs to be built, if there're targets +# which actually depend on it. At the time of this writing, only qt5tools +# makes use of the host build. +HOST_BUILD_DEPENDS:=qt5base include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk