Skip to contentSkip to conversation

make xconfig needs QTDIR; though qt is in /usr

PATCH Chris Lingard 1 participant 1 message Jun 16, 2004 Kconfig

lore
Share & tools
lore
#0 lore raw

All versions of Linux-2.6

I install qt and all other stuff in /usr; and do not set QTDIR, as it is not needed.

Can /usr be added to the scripts/kconfig/Makefile? I attach a patch. The last two variables of:

@set -e; for d in $$QTDIR /usr/share/qt* /usr/lib/qt*; do \
if [ -f $$d/include/qconfig.h ]; then DIR=$$d; break; fi; \

seem pointless as it is looking for a header file.

The patch just adds /usr to the end; but I suggest that the line could be

@set -e; for d in $$QTDIR /usr; do \

Chris Lingard

scripts/kconfig/Makefile +1 -1
diff -Naur linux-2.6.7.old/scripts/kconfig/Makefile linux-2.6.7/scripts/kconfig/Makefile
@@ -112,7 +112,7 @@
 
 # QT needs some extra effort...
 $(obj)/.tmp_qtcheck:
-	@set -e; for d in $$QTDIR /usr/share/qt* /usr/lib/qt*; do \
+	@set -e; for d in $$QTDIR /usr/share/qt* /usr/lib/qt* /usr; do \
 	  if [ -f $$d/include/qconfig.h ]; then DIR=$$d; break; fi; \
 	done; \
 	if [ -z "$$DIR" ]; then \