Re: lesson 2 of kernel programming course now up

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

 



On Sun, 13 Jun 2010, Aiolia Lea wrote:

> Hi, rday
>
> Perfect job~~ It is really a nice course!

  thanks.  although you've seen only two lessons so far.  :-)

> And I have a little comments, consider this scenario:
>
> As a kernel beginner (like me), sometimes, I just want to rebuild
> part of the kernel, reather than the whole kernel tree. How could we
> do? Such as, we just modified one line of code or one function, do
> we still need to rebuild the whole kernel? After all, rebuild the
> whole kernel will cost more times.

  i notice that someone else has already answered this -- just make
your changes and type "make".  the kernel build infrastructure will
take care of recompiling only what it has to.


> Could you  add some kernel development environment setup topics for
> the above scenario. To be honsest, I am really want to know, the
> engineer in redhat, suse, how does he do in the reallife
> development? If he focus on one feature, such as MM or scheduler,
> does he also need to recompile the whole kernel when he make a
> little change?  Especially he just want to clarify a little idea.

  see above.  don't try to be fancy, just type "make".  you'll learn
more further into the course when i cover writing and loading your own
modules, which is typically how testing is done.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses:
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux