svn commit: trunk/buildroot/package/ltt

andersen at uclibc.org andersen at uclibc.org
Thu Apr 6 22:13:52 UTC 2006


Author: andersen
Date: 2006-04-06 15:13:51 -0700 (Thu, 06 Apr 2006)
New Revision: 14774

Log:
Build ltt without GTK if GTK is not available


Modified:
   trunk/buildroot/package/ltt/ltt.mk


Changeset:
Modified: trunk/buildroot/package/ltt/ltt.mk
===================================================================
--- trunk/buildroot/package/ltt/ltt.mk	2006-04-06 18:31:14 UTC (rev 14773)
+++ trunk/buildroot/package/ltt/ltt.mk	2006-04-06 22:13:51 UTC (rev 14774)
@@ -28,10 +28,14 @@
 	toolchain/patch-kernel.sh $(LTT_DIR1) package/ltt ltt\*.patch
 	touch $(LTT_DIR1)/.unpacked
 
+# Build without GTK if not available
+LTT_WITHOUT_GTK:=$(shell which gtk-config >& /dev/null || echo "--without-gtk")
+
 $(LTT_DIR1)/.configured: $(LTT_DIR1)/.unpacked
 	(cd $(LTT_DIR1); rm -rf config.cache; \
 		./configure \
 		--prefix=$(TOOL_BUILD_DIR) \
+		$(LTT_WITHOUT_GTK) \
 	);
 	touch $(LTT_DIR1)/.configured
 




More information about the uClibc-cvs mailing list