mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-29 16:40:02 +08:00
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
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user