|
From: Heiko Z. <he...@zu...> - 2003-12-14 12:45:17
|
Frischknecht Peter wrote: >Hello, > Selber Hallo ! > >I am at my wits end on this one...all I need is a little bit of help. > You're in the right place here. ;-) >I am unable to make kernel source changes and then proceed to "make build , install, prepare, iso". > >Very Specifically: >After a minor kernel change, "make build" stops and prompts me for approval on certain kernel compilation parameneters. >What it is actually doing, is within the kernel subdir (tmp/linux-2.4.22) running "make oldconfig". > This is to make sure, that we don't miss any new Kernel config options. You have to modify the files in build/scripts/config , the file config_linux is the main file, but be carefull a few things are in seperate files or even in the scripts themselves (like patch-o-matic ). >After that it is a nightmare. kernel compilation craps out, and nothing short of a complete cleaning of ALL the src files and recompilation (about 20hours in my 1Gig Athlon) cures the problem. > My main build machine is an 1 gig Athlon too, but doesn't need that long. Check if you can speed up your harddisk (i.e. UDMA mode) and use at least 512 MB RAM (more doesn't really improve anything). >I do not know what packages touch the .config for the kernel. > Which DL version do you use again? 1.0.x or the development 1.1 ? Which Kernel config option it asks for? Knowing that we should be able to figure out which script it is. >I know that grsecurity touches I have attempted to selective delete .done_build_grsecurity and .done_build_gcc but the kernel still complains of invalid references. > > Yeah that won't work. >Please, could somebody tell me: >If I want to recompile JUST THE KERNEL, what steps must I take? >(.done_ files to erase, etc) > Just execute the following command: build/scripts/build.sh build opt=linux Of course a "make clean install iso" will be required. pcmcia-cs will complain about this, so if you don't use a Notebook, disable the package. >I am sure that it has been covered in previous postings, but I was unable to find it. > >Thank you for your time. > > sure cu Heiko |