Commit 39027ff8 authored by Eric Andersen's avatar Eric Andersen
Browse files

Build ltt without GTK if GTK is not available

parent fbe47cd3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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