Changeset 22705 for packages


Ignore:
Timestamp:
2010-08-18T18:27:49+02:00 (6 years ago)
Author:
mb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/Xorg/lib/qt4/Makefile

    r22699 r22705  
    2020PKG_BUILD_DIR=$(BUILD_DIR)/qt-everywhere-opensource-src-$(PKG_VERSION) 
    2121PKG_BUILD_PARALLEL:=1 
     22 
     23PKG_CONFIG_DEPENDS:= \ 
     24        CONFIG_PACKAGE_qt4-demos \ 
     25        CONFIG_PACKAGE_qt4-examples 
    2226 
    2327include $(INCLUDE_DIR)/package.mk 
     
    266270                        -force-pkg-config \ 
    267271                        -nomake tools \ 
    268                         -make demos \ 
    269                         -make examples \ 
     272                        $(if $(CONFIG_PACKAGE_qt4-demos),-make,-nomake) demos \ 
     273                        $(if $(CONFIG_PACKAGE_qt4-examples),-make,-nomake) examples \ 
    270274                        -nomake docs \ 
    271275                        -nomake translations \ 
Note: See TracChangeset for help on using the changeset viewer.