Re: Question about code

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

 



On Thu, Jan 01, 2009 at 09:17:40PM +1100, Timothy S. Nelson wrote:
> 	Hi all.  I have a question.  When I compile my kernel, what file 
> 	does the code from rom.c finally end up in?

rom.c gets compiled into rom.o.
rom.o gets linked into built-in.o
built-in.o gets linked into vmlinux

If you type 'make V=1', you can see the exact commands used to make this
happen.  I recommend building the entire tree first, then touching rom.c
and watching exactly what gets rebuilt and how.

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux