projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbe47cd
)
Build ltt without GTK if GTK is not available
author
Eric Andersen
<andersen@codepoet.org>
Thu, 6 Apr 2006 22:13:51 +0000
(22:13 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 6 Apr 2006 22:13:51 +0000
(22:13 -0000)
package/ltt/ltt.mk
patch
|
blob
|
history
diff --git
a/package/ltt/ltt.mk
b/package/ltt/ltt.mk
index 3b30139c1ca11c8f74b96663cc2f6fb40588b520..d95210d0f64fdee8f6726a656e6dd377f1236db1 100644
(file)
--- 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