patches/linux/2.6.6/120-linux-2.6.8-noshared-kconfig.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 17 20:26:25 2008 +0000 (2008-04-17)
changeset 446 d205527c5e01
permissions -rw-r--r--
Move config files around, and clean up the mess in the config/ directory.

config/kernel/kernel_linux.in | 12 6 6 0 +-
config/paths.in | 89 0 89 0 ----------------
config/kernel_linux_headers_install.in | 168 0 168 0 ------------------------------
config/kernel.in | 2 1 1 0
config/kernel_linux_headers_copy.in | 42 0 42 0 --------
config/cc.in | 2 1 1 0
config/logging.in | 110 0 110 0 --------------------
config/build-behave.in | 45 0 45 0 --------
config/libc_uClibc.in | 101 0 101 0 ------------------
config/kernel_linux_headers_sanitised.in | 62 0 62 0 -----------
config/ct-behave.in | 82 0 82 0 ---------------
config/kernel_linux.in | 134 0 134 0 ------------------------
config/global.in | 10 5 5 0 +-
config/download_extract.in | 171 0 171 0 -------------------------------
config/cc_gcc.in | 130 0 130 0 ------------------------
config/libc_glibc.in | 124 0 124 0 ----------------------
config/libc.in | 4 2 2 0
17 files changed, 15 insertions(+), 1273 deletions(-)
yann@402
     1
Lets you run 'make oldconfig' and 'make menuconfig' on systems
yann@402
     2
where shared libraries aren't easy.  (There's no harm in using the
yann@402
     3
static version of libkconfig.)
yann@402
     4
Idea mentioned by Bertrand Marquis, but this patch is a bit simpler than his.
yann@402
     5
yann@402
     6
yann@402
     7
--- linux-2.6.8.1/scripts/kconfig/Makefile.old	2004-09-09 20:30:25.000000000 -0700
yann@402
     8
+++ linux-2.6.8.1/scripts/kconfig/Makefile	2004-09-09 20:47:51.000000000 -0700
yann@402
     9
@@ -68,8 +68,8 @@
yann@402
    10
 libkconfig-objs := zconf.tab.o
yann@402
    11
 
yann@402
    12
 host-progs	:= conf mconf qconf gconf
yann@402
    13
-conf-objs	:= conf.o  libkconfig.so
yann@402
    14
-mconf-objs	:= mconf.o libkconfig.so
yann@402
    15
+conf-objs	:= conf.o  $(libkconfig-objs)
yann@402
    16
+mconf-objs	:= mconf.o $(libkconfig-objs)
yann@402
    17
 
yann@402
    18
 ifeq ($(MAKECMDGOALS),xconfig)
yann@402
    19
 	qconf-target := 1
yann@402
    20
@@ -88,7 +88,7 @@
yann@402
    21
 gconf-objs	:= gconf.o kconfig_load.o
yann@402
    22
 endif
yann@402
    23
 
yann@402
    24
-clean-files	:= libkconfig.so lkc_defs.h qconf.moc .tmp_qtcheck \
yann@402
    25
+clean-files	:= $(libkconfig-objs) lkc_defs.h qconf.moc .tmp_qtcheck \
yann@402
    26
 		   .tmp_gtkcheck zconf.tab.c zconf.tab.h lex.zconf.c
yann@402
    27
 
yann@402
    28
 # generated files seem to need this to find local include files