-rw-r--r-- | scripts/kconfig/Makefile | 6 |
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 | |||
14 | else | 14 | else |
15 | ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit) | 15 | ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit) |
16 | HOSTQTDIR=/usr/lib/qt | 16 | HOSTQTDIR=/usr/lib/qt |
17 | endif | 17 | endif |
18 | endif | 18 | endif |
19 | endif | 19 | endif |
20 | 20 | ||
21 | ifndef QTLIB | 21 | ifndef QTLIB |
22 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit) | ||
23 | QTLIB=-lqt | ||
24 | else | ||
25 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) | 22 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) |
26 | QTLIB=-lqt-mt | 23 | QTLIB=-lqt-mt |
27 | else | 24 | else |
28 | QTLIB=-lqt | 25 | ifneq ($(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!) |
30 | endif | 27 | endif |
28 | QTLIB=-lqt | ||
31 | endif | 29 | endif |
32 | endif | 30 | endif |
33 | 31 | ||
34 | MOC=$(wildcard $(HOSTQTDIR)/bin/moc) | 32 | MOC=$(wildcard $(HOSTQTDIR)/bin/moc) |
35 | 33 | ||
36 | parse_SRC=zconf.y | 34 | parse_SRC=zconf.y |
37 | conf_SRC=conf.c $(parse_SRC) | 35 | conf_SRC=conf.c $(parse_SRC) |
38 | mconf_SRC=mconf.c $(parse_SRC) | 36 | mconf_SRC=mconf.c $(parse_SRC) |