lkml.org 
[lkml]   [2002]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kbuild 2.5 release 2.4
> >$ make -f Makefile-2.5 menuconfig
> >[enable RAMDISK support, tweak ramdisk size, enable initrd]
> >...
> >
> >Now, issuing "M installable" will result in nearly all files getting rebuilt.
> >The same happens when switching ramdisk off again. How's that?
> >
> >I tried enabling/disabling many other config options and doing rebuilds but
> >couldn't find anything as damaging buildtime-wise as the ramdisk stuff.
>
> CONFIG_BLK_DEV_INITRD is tested in include/linux/fs.h. Because of the
> messy kernel include files, a config change to fs.h affects hundreds of
> other files and forces lots of rebuilds. This is a separate problem
> from kbuild, other people are looking at cleaning up the include files.


Hold on, there's more :)

/1/

$ cd ~ && rm -rf build && mkdir build && cd build
$ export KBUILD_SRCTREE_000=/usr/src/linux-2.5.13
$ export KBUILD_OBJTREE=$PWD
$ alias M="make -f $KBUILD_SRCTREE_000/Makefile-2.5"
$ touch foo bar baz
$ M mrproper
spec value %p not found
$ ls foo bar baz
/bin/ls: foo: No such file or directory
/bin/ls: bar: No such file or directory
/bin/ls: baz: No such file or directory
$ # oh my! wherez mah precious files gone!

--> *BUUUURN*

/2/

$ cd ~ && rm -rf build && mkdir build && cd build
$ cp /lib/modules/2.5.13/.config .
$ M oldconfig installable
...

--> kbuild repeats launching "oldconfig" till I hit C-c,
never proceeds to "installable".

Of course, issuing "M oldconfig && M installable" works.


T.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.081 / U:8.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site