Messages in this thread | | | Date | Fri, 3 May 2002 17:45:54 +0200 | From | tomas szepe <> | Subject | Re: your mail |
| |
> On Fri, 3 May 2002 16:37:38 +0200, > tomas szepe <kala@pinerecords.com> 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. - 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/
| |