On Wed, Mar 23, 2016 at 5:36 PM, shubham k <[email protected]> wrote:

> Hi,
>
> I a novice & want to contribute to linux community. I have basic knowledge
> of kernel.
>
> Problem statement:
> I want to work on x86 architecture. I am not sure how to go about unit
> testing. I can use qemu for testing but i find kernel on x86 architecture
> too big to compile. How i can get the smaller size kernel on x86
> architecture? Please help me setting up testing environment so that i can
> test my changes properly & quickly.
>
> thanks,
> Shubham
>
> _______________________________________________
> Kernelnewbies mailing list
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
If you want smaller kernel size, just avoid compiling modules or kernel
component that you don't need. Things like unneccessary device support,
protocol support are something you can begin with.

Also, once you do:
make

then if later you did modification on certain .c files, then next
invocation of "make" will only recompile the changed .c files. if you need
further speed, use ccache.



-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

This email has been sent from a virus-free computer protected by Avast.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to