qt5base: build widgets and examples only when activated
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 10 Dec 2015 21:30:09 +0000 (22:30 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 10 Dec 2015 22:27:11 +0000 (23:27 +0100)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
frameworks/qt5base/Makefile

index 874ea301a74f7e85b028158850f63c1aa5b4d202..e4f03ebfafbf8699146ac6421bdaf323485a42fd 100644 (file)
@@ -298,10 +298,10 @@ define Build/Configure
                        -no-alsa \
                        -no-gtkstyle \
                        -nomake tools \
                        -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) \
                        $(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) \
                        -no-optimized-qmake \
                        -no-cups \
                        $(if $(CONFIG_BUILD_NLS),-iconv,-no-iconv) \