diff options
| author | Eric Andersen | 2006-04-07 00:13:51 +0200 |
|---|---|---|
| committer | Eric Andersen | 2006-04-07 00:13:51 +0200 |
| commit | 39027ff8d22fc252bb5c596ac32c67d1702e826f (patch) | |
| tree | 7b1f021a1f7aa9d828d67e4ae1d10f920b020cd0 | |
| parent | patch from janlana adding an x86 bootable iso9660 CD-ROM target (diff) | |
| download | buildroot-39027ff8d22fc252bb5c596ac32c67d1702e826f.tar.gz buildroot-39027ff8d22fc252bb5c596ac32c67d1702e826f.tar.xz buildroot-39027ff8d22fc252bb5c596ac32c67d1702e826f.zip | |
Build ltt without GTK if GTK is not available
| -rw-r--r-- | package/ltt/ltt.mk | 4 |
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 |
