aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-06 22:13:51 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-06 22:13:51 +0000
commit39027ff8d22fc252bb5c596ac32c67d1702e826f (patch)
tree7b1f021a1f7aa9d828d67e4ae1d10f920b020cd0 /package
parentfbe47cd3338e6782b83fa7c735d580567c26b7bf (diff)
downloadbuildroot-novena-39027ff8d22fc252bb5c596ac32c67d1702e826f.tar.gz
buildroot-novena-39027ff8d22fc252bb5c596ac32c67d1702e826f.zip
Build ltt without GTK if GTK is not available
Diffstat (limited to 'package')
-rw-r--r--package/ltt/ltt.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ltt/ltt.mk b/package/ltt/ltt.mk
index 3b30139c1..d95210d0f 100644
--- a/package/ltt/ltt.mk
+++ b/package/ltt/ltt.mk
@@ -28,10 +28,14 @@ $(LTT_DIR1)/.unpacked: $(DL_DIR)/$(LTT_SOURCE)
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