patches/linux/2.6.6/linux-2.6.8-noshared-kconfig.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/linux/2.6.6/linux-2.6.8-noshared-kconfig.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +Lets you run 'make oldconfig' and 'make menuconfig' on systems
     1.5 +where shared libraries aren't easy.  (There's no harm in using the
     1.6 +static version of libkconfig.)
     1.7 +Idea mentioned by Bertrand Marquis, but this patch is a bit simpler than his.
     1.8 +
     1.9 +
    1.10 +--- linux-2.6.8.1/scripts/kconfig/Makefile.old	2004-09-09 20:30:25.000000000 -0700
    1.11 ++++ linux-2.6.8.1/scripts/kconfig/Makefile	2004-09-09 20:47:51.000000000 -0700
    1.12 +@@ -68,8 +68,8 @@
    1.13 + libkconfig-objs := zconf.tab.o
    1.14 + 
    1.15 + host-progs	:= conf mconf qconf gconf
    1.16 +-conf-objs	:= conf.o  libkconfig.so
    1.17 +-mconf-objs	:= mconf.o libkconfig.so
    1.18 ++conf-objs	:= conf.o  $(libkconfig-objs)
    1.19 ++mconf-objs	:= mconf.o $(libkconfig-objs)
    1.20 + 
    1.21 + ifeq ($(MAKECMDGOALS),xconfig)
    1.22 + 	qconf-target := 1
    1.23 +@@ -88,7 +88,7 @@
    1.24 + gconf-objs	:= gconf.o kconfig_load.o
    1.25 + endif
    1.26 + 
    1.27 +-clean-files	:= libkconfig.so lkc_defs.h qconf.moc .tmp_qtcheck \
    1.28 ++clean-files	:= $(libkconfig-objs) lkc_defs.h qconf.moc .tmp_qtcheck \
    1.29 + 		   .tmp_gtkcheck zconf.tab.c zconf.tab.h lex.zconf.c
    1.30 + 
    1.31 + # generated files seem to need this to find local include files