qt4: Don't build examples/demos, if they are not selected.
This also adds PKG_CONFIG_DEPENDS to force a rebuild if those options change. This brings a significant build speed improvement. git-svn-id: svn://svn.openwrt.org/openwrt/packages@22705 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2273df6e32
commit
52abffa52f
@ -20,6 +20,10 @@ PKG_SOURCE_URL:=ftp://ftp.qt.nokia.com/qt/source
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/qt-everywhere-opensource-src-$(PKG_VERSION)
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_qt4-demos \
|
||||
CONFIG_PACKAGE_qt4-examples
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
# this should be moved to a more generic place later, as other packages are configured different as well depending on available nptl support
|
||||
@ -265,8 +269,8 @@ define Build/Configure
|
||||
-no-rpath \
|
||||
-force-pkg-config \
|
||||
-nomake tools \
|
||||
-make demos \
|
||||
-make examples \
|
||||
$(if $(CONFIG_PACKAGE_qt4-demos),-make,-nomake) demos \
|
||||
$(if $(CONFIG_PACKAGE_qt4-examples),-make,-nomake) examples \
|
||||
-nomake docs \
|
||||
-nomake translations \
|
||||
-xplatform qws/linux-openwrt-g++ \
|
||||
|
Loading…
x
Reference in New Issue
Block a user