Re: Linux Scheduler and Compilation

From: J . A . Magallon (jamagallon@able.es)
Date: Thu Oct 25 2001 - 16:48:58 EST


On 20011025 Omer Sever wrote:
> I have a project on Linux CPU Scheduler to make it Fair Share
>Scheduler.I will make some changes on some files such as sched.c vs...I will
>want to see the effect ot the change but recompilation of the kernel takes
>about half an hour on my machine.How can I minimize this time?Which part
>should I necessarily include in my config file for the kernel to minimize
>it?
>

Try this (and please tell me if it is worthy or I have to send it to trash)

--- linux-2.4.1-ac14/Makefile.org Thu Feb 15 15:47:42 2001
+++ linux-2.4.1-ac14/Makefile Thu Feb 15 15:48:11 2001
@@ -241,6 +241,9 @@
 
 
 include arch/$(ARCH)/Makefile
+
+CC:=$(CC)
+CPP:=$(CPP)
 
 export CPPFLAGS CFLAGS AFLAGS
 

--
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.14-pre1-beo #1 SMP Thu Oct 25 16:19:19 CEST 2001 i686
-
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/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:29 EST