yann@402: Lets you run 'make oldconfig' and 'make menuconfig' on systems yann@402: where shared libraries aren't easy. (There's no harm in using the yann@402: static version of libkconfig.) yann@402: Idea mentioned by Bertrand Marquis, but this patch is a bit simpler than his. yann@402: yann@402: yann@402: --- linux-2.6.8.1/scripts/kconfig/Makefile.old 2004-09-09 20:30:25.000000000 -0700 yann@402: +++ linux-2.6.8.1/scripts/kconfig/Makefile 2004-09-09 20:47:51.000000000 -0700 yann@402: @@ -68,8 +68,8 @@ yann@402: libkconfig-objs := zconf.tab.o yann@402: yann@402: host-progs := conf mconf qconf gconf yann@402: -conf-objs := conf.o libkconfig.so yann@402: -mconf-objs := mconf.o libkconfig.so yann@402: +conf-objs := conf.o $(libkconfig-objs) yann@402: +mconf-objs := mconf.o $(libkconfig-objs) yann@402: yann@402: ifeq ($(MAKECMDGOALS),xconfig) yann@402: qconf-target := 1 yann@402: @@ -88,7 +88,7 @@ yann@402: gconf-objs := gconf.o kconfig_load.o yann@402: endif yann@402: yann@402: -clean-files := libkconfig.so lkc_defs.h qconf.moc .tmp_qtcheck \ yann@402: +clean-files := $(libkconfig-objs) lkc_defs.h qconf.moc .tmp_qtcheck \ yann@402: .tmp_gtkcheck zconf.tab.c zconf.tab.h lex.zconf.c yann@402: yann@402: # generated files seem to need this to find local include files