[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make-kpkg + patches



On Mon, 2003-03-17 at 22:13, Matthew Yee-King wrote:
> 
> I'm trying to compile a benh kernel with the low latency patch from 
> here:
> 
> http://www.zip.com.au/~akpm/linux/schedlat.html
> 
> I applied the patch, then added 
> 
> CONFIG_LOLAT=y
> CONFIG_LOLAT_SYSCTL=y
> 
> to my .config

BTW, you shouldn't edit .config manually. The easiest way to change
certain options is to delete the lines and make oldconfig.

> then ran 
> 
> fakeroot make-kpkg kernel_image
> 
> But this command seems to whack the .config file and remove my added 
> lines.

make oldconfig does that because the patch doesn't contain the necessary
ppc specific bits yet. Try this.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
--- ../linux-2.4.20-pre7-ben0/arch/ppc/config.in	2002-09-13 18:32:06.000000000 +0200
+++ arch/ppc/config.in	2002-10-01 01:10:10.000000000 +0200
@@ -35,6 +35,9 @@ choice 'Processor Type'	\
 	 POWER4        	        CONFIG_POWER4	\
 	 8xx			CONFIG_8xx"	6xx
 
+bool 'Low latency scheduling' CONFIG_LOLAT
+dep_bool 'Control low latency with sysctl' CONFIG_LOLAT_SYSCTL $CONFIG_LOLAT
+
 if [ "$CONFIG_6xx" = "y" ]; then
   bool 'MPC8260 CPM Support' CONFIG_8260
 fi

Reply to: