summaryrefslogtreecommitdiff
path: root/scripts/kconfig
Side-by-side diff
Diffstat (limited to 'scripts/kconfig') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index ed57c6f..b60db9f 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -4,5 +4,5 @@ CXX=g++
CFLAGS=-O2 -Wall -g -fPIC
-CXXFLAGS=$(CFLAGS) -I$(QTDIR)/include
+CXXFLAGS=$(CFLAGS) -I$(HOSTQTDIR)/include
LDFLAGS=
-LXXFLAGS=$(LDFLAGS) -L$(QTDIR)/lib -Wl,-rpath,$(QTDIR)/lib
+LXXFLAGS=$(LDFLAGS) -L$(HOSTQTDIR)/lib -Wl,-rpath,$(HOSTQTDIR)/lib
LEX=flex
@@ -10,6 +10,6 @@ YACC=bison
YFLAGS=-d -t -v
-ifndef QTDIR
-QTDIR=/usr/share/qt
+ifndef HOSTQTDIR
+HOSTQTDIR=/usr/share/qt
endif
-MOC=$(wildcard $(QTDIR)/bin/moc)
+MOC=$(wildcard $(HOSTQTDIR)/bin/moc)
@@ -108,3 +108,3 @@ qconf:
@echo Unable to find the QT installation. Please make sure that the
- @echo QT development package is correctly installed and the QTDIR
+ @echo QT development package is correctly installed and the HOSTQTDIR
@echo environment variable is set to the correct location.
@@ -142,3 +142,3 @@ lex.%.c: %.l
%.moc: %.h
- $(QTDIR)/bin/moc -i $< -o $@
+ $(HOSTQTDIR)/bin/moc -i $< -o $@