From: Hauke Mehrtens Date: Thu, 10 Dec 2015 21:30:09 +0000 (+0100) Subject: qt5base: build widgets and examples only when activated X-Git-Url: http://git.openwrt.org/?p=feed%2Fvideo.git;a=commitdiff_plain;h=9194f1f76b6e881d9a365f203a278280e8bae575 qt5base: build widgets and examples only when activated Signed-off-by: Hauke Mehrtens --- diff --git a/frameworks/qt5base/Makefile b/frameworks/qt5base/Makefile index 874ea30..e4f03eb 100644 --- a/frameworks/qt5base/Makefile +++ b/frameworks/qt5base/Makefile @@ -298,10 +298,10 @@ define Build/Configure -no-alsa \ -no-gtkstyle \ -nomake tools \ - -make examples \ + $(if $(CONFIG_PACKAGE_qt5base-examples),-make examples,-nomake examples) \ $(if $(CONFIG_PACKAGE_qt5base-gui),-gui,-no-gui) \ $(if $(CONFIG_PACKAGE_qt5base-plugin-imageformats-gif),,-no-gif) \ - -widgets \ + $(if $(CONFIG_PACKAGE_qt5base-widgets),-widgets,-no-widgets) \ -no-optimized-qmake \ -no-cups \ $(if $(CONFIG_BUILD_NLS),-iconv,-no-iconv) \