summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index caad231..6782d4a 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -14,25 +14,23 @@ HOSTQTDIR=/usr/share/qt
14else 14else
15ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit) 15ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit)
16HOSTQTDIR=/usr/lib/qt 16HOSTQTDIR=/usr/lib/qt
17endif 17endif
18endif 18endif
19endif 19endif
20 20
21ifndef QTLIB 21ifndef QTLIB
22ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit)
23QTLIB=-lqt
24else
25ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) 22ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit)
26QTLIB=-lqt-mt 23QTLIB=-lqt-mt
27else 24else
28QTLIB=-lqt 25ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit)
29$(warning Unable to locate libqt.so!) 26$(warning Unable to locate libqt.so!)
30endif 27endif
28QTLIB=-lqt
31endif 29endif
32endif 30endif
33 31
34MOC=$(wildcard $(HOSTQTDIR)/bin/moc) 32MOC=$(wildcard $(HOSTQTDIR)/bin/moc)
35 33
36parse_SRC=zconf.y 34parse_SRC=zconf.y
37conf_SRC=conf.c $(parse_SRC) 35conf_SRC=conf.c $(parse_SRC)
38mconf_SRC=mconf.c $(parse_SRC) 36mconf_SRC=mconf.c $(parse_SRC)