Build ltt without GTK if GTK is not available
This commit is contained in:
parent
fbe47cd333
commit
39027ff8d2
|
@ -28,10 +28,14 @@ $(LTT_DIR1)/.unpacked: $(DL_DIR)/$(LTT_SOURCE)
|
||||||
toolchain/patch-kernel.sh $(LTT_DIR1) package/ltt ltt\*.patch
|
toolchain/patch-kernel.sh $(LTT_DIR1) package/ltt ltt\*.patch
|
||||||
touch $(LTT_DIR1)/.unpacked
|
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
|
$(LTT_DIR1)/.configured: $(LTT_DIR1)/.unpacked
|
||||||
(cd $(LTT_DIR1); rm -rf config.cache; \
|
(cd $(LTT_DIR1); rm -rf config.cache; \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=$(TOOL_BUILD_DIR) \
|
--prefix=$(TOOL_BUILD_DIR) \
|
||||||
|
$(LTT_WITHOUT_GTK) \
|
||||||
);
|
);
|
||||||
touch $(LTT_DIR1)/.configured
|
touch $(LTT_DIR1)/.configured
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue