patches/linux/2.6.6/linux-2.6.8-noshared-kconfig.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
     1 Lets you run 'make oldconfig' and 'make menuconfig' on systems
     2 where shared libraries aren't easy.  (There's no harm in using the
     3 static version of libkconfig.)
     4 Idea mentioned by Bertrand Marquis, but this patch is a bit simpler than his.
     5 
     6 
     7 --- linux-2.6.8.1/scripts/kconfig/Makefile.old	2004-09-09 20:30:25.000000000 -0700
     8 +++ linux-2.6.8.1/scripts/kconfig/Makefile	2004-09-09 20:47:51.000000000 -0700
     9 @@ -68,8 +68,8 @@
    10  libkconfig-objs := zconf.tab.o
    11  
    12  host-progs	:= conf mconf qconf gconf
    13 -conf-objs	:= conf.o  libkconfig.so
    14 -mconf-objs	:= mconf.o libkconfig.so
    15 +conf-objs	:= conf.o  $(libkconfig-objs)
    16 +mconf-objs	:= mconf.o $(libkconfig-objs)
    17  
    18  ifeq ($(MAKECMDGOALS),xconfig)
    19  	qconf-target := 1
    20 @@ -88,7 +88,7 @@
    21  gconf-objs	:= gconf.o kconfig_load.o
    22  endif
    23  
    24 -clean-files	:= libkconfig.so lkc_defs.h qconf.moc .tmp_qtcheck \
    25 +clean-files	:= $(libkconfig-objs) lkc_defs.h qconf.moc .tmp_qtcheck \
    26  		   .tmp_gtkcheck zconf.tab.c zconf.tab.h lex.zconf.c
    27  
    28  # generated files seem to need this to find local include files