Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/sun-nontendocm-kernel.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormadmonkey <madfkingmonkey@gmail.com>2017-11-10 00:09:16 +0300
committermadmonkey <madfkingmonkey@gmail.com>2017-11-10 00:09:16 +0300
commit69b78225582942d22697ddbb2ec835a67df6e659 (patch)
tree0743d6aabeca02f6c00b89cfe3da1636109207a1
parenta5a76000ec2a2d11a2b5cd7171fd5b550c455192 (diff)
fix xconfig build
-rw-r--r--scripts/kconfig/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 79662658..1d1306df 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -202,6 +202,7 @@ LEX_PREFIX_zconf := zconf
YACC_PREFIX_zconf := zconf
HOSTLOADLIBES_qconf = $(KC_QT_LIBS)
+HOSTCFLAGS_qconf.o = $(KC_QT_CFLAGS)
HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS)
HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0`
@@ -234,6 +235,9 @@ $(obj)/.tmp_qtcheck:
if [ -f $$d/include/qconfig.h ]; then dir=$$d; break; fi; \
done; \
if [ -z "$$dir" ]; then \
+ dir="$$(qmake -query QT_INSTALL_PREFIX)"; \
+ fi; \
+ if [ -z "$$dir" ]; then \
echo "*"; \
echo "* Unable to find any QT installation. Please make sure that"; \
echo "* the QT4 or QT3 development package is correctly installed and"; \