diff options
| author | Roman Zippel <zippel@linux-m68k.org> | 2002-10-30 18:31:17 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-10-30 18:31:17 -0800 |
| commit | e66c772cdaf98470ba672d07da146209af53893f (patch) | |
| tree | c47a967c673ece3a5a32f805b095aad7bce8aa16 /scripts | |
| parent | b1b782f7b7fced03a6dc51d3e52595fcfc9ac106 (diff) | |
[PATCH] check QT only if needed
On Wed, 30 Oct 2002, Aaron Lehmann wrote:
>
> Now running 'make oldconfig' or 'make menuconfig' requires a Qt
> installation. I believe that this is a bug because these still work
> fine without Qt when the -k flag is passed to make.
Yes, it's a bug. This fixes it without breaking xconfig.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 1e519ed2b3ab..0c58d33bfdb4 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -34,6 +34,7 @@ $(obj)/conf.o $(obj)/mconf.o $(obj)/qconf.o: $(obj)/zconf.tab.h $(obj)/qconf.o: $(obj)/.tmp_qtcheck +ifeq ($(MAKECMDGOALS),$(obj)/qconf) -include $(obj)/.tmp_qtcheck # QT needs some extra effort... @@ -52,6 +53,7 @@ $(obj)/.tmp_qtcheck: LIB=qt; \ if [ -f $$DIR/lib/libqt-mt.so ]; then LIB=qt-mt; fi; \ echo "QTDIR=$$DIR" > $@; echo "QTLIB=$$LIB" >> $@ +endif $(obj)/zconf.tab.o: $(obj)/lex.zconf.c |
