소스 검색

qt: only build gui module if enabled

Closes #2905

Signed-off-by: Frederik Pasch <fpasch@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Frederik Pasch 14 년 전
부모
커밋
d3d67f7fb5
2개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      CHANGES
  2. 4 0
      package/qt/qt.mk

+ 5 - 1
CHANGES

@@ -3,10 +3,14 @@
 	Ccache support reworked. Now used for both host and target
 	compilation, and cache is stored in ~/.buildroot-ccache.
 
-	Updated/fixed packages: cloop, m4, openssh, xz
+	Updated/fixed packages: cloop, m4, openssh, qt, xz
 
 	New packages: lsuio
 
+	Issues resolved (http://bugs.uclibc.org):
+
+	#2905: Qt: Speed up compilation, if gui-module isn't selected
+
 2010.11, Released November 30th, 2010:
 
 	Fixes all over the tree.

+ 4 - 0
package/qt/qt.mk

@@ -190,6 +190,10 @@ else
 QT_CONFIGURE+= -big-endian
 endif
 
+ifneq ($(BR2_PACKAGE_QT_GUI_MODULE),y)
+QT_CONFIGURE+= -no-gui
+endif
+
 ifeq ($(BR2_PACKAGE_QT_GIF),y)
 QT_CONFIGURE+= -qt-gif
 else