> On Fri, 3 May 2002 16:37:38 +0200, > tomas szepe <[EMAIL PROTECTED]> wrote: > > >kala@nibbler:~$ tar xzf /usr/src/linux-2.5.13.tgz > >kala@nibbler:~$ cd linux-2.5.13 > >kala@nibbler:~/linux-2.5.13$ zcat /usr/src/kbuild-2.5-core-10.gz >/usr/src/kbuild-2.5-common-2.5.13-1.gz /usr/src/kbuild-2.5-i386-2.5.13-1.gz |patch >-sp1 > >kala@nibbler:~/linux-2.5.13$ cp /lib/modules/2.5.13/.config . > >kala@nibbler:~/linux-2.5.13$ make -f Makefile-2.5 oldconfig > >Makefile-2.5:251: /no_such_file-arch/i386/Makefile.defs.noconfig: No such file or >directory > > The trailing '/' is omitted in one case. Workaround for common source and object > > export KBUILD_SRCTREE_000=`pwd`/ > make -f Makefile-2.5 oldconfig
Another problem/question: $ cd build $ export KBUILD_OBJTREE=$PWD $ export KBUILD_SRCTREE_000=/usr/src/linux-2.5.13 $ alias M="make -f $KBUILD_SRCTREE_000/Makefile-2.5" $ cp /lib/modules/2.5.13/.config . $ M oldconfig ... $ M installable ... [so far so good] $ 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. Hopefully I'm causing no headaches, T. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel