LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 05-28-2009, 09:04 AM   #1
RossR
LQ Newbie
 
Registered: May 2009
Location: UK
Distribution: Ubuntu: Jaunty Jackalope
Posts: 13

Rep: Reputation: 0
Adding a ".c" source code file name to the Kernel's Makefile.


Hi:

I have just entered the world of Kernel modification, and I am going through "Operating Systems Concepts" by Silberschatz, Galvin and Gagne, one of the projects in in the book is to add a basic system call to the kernel, anyway the file has been written and all that's left to do is, to add the filename to the makefile, but I looked in the Makefile in /usr/src/linux-source-2.6.27/kernel (which is where the file is present) and i am not quite sure where to begin to add the .c file.

Thanks for your time.
 
Old 05-29-2009, 07:10 PM   #2
MaxIBoy
LQ Newbie
 
Registered: May 2009
Posts: 13

Rep: Reputation: 0
Could this be helpful? http://www.ravnborg.org/kbuild/makefiles.html

If that doesn't work, then certainly something else from this page will be what you're looking for.
 
Old 05-30-2009, 05:28 AM   #3
RossR
LQ Newbie
 
Registered: May 2009
Location: UK
Distribution: Ubuntu: Jaunty Jackalope
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks very much for the link!

I realize this is probably the wrong board (a question about make really and not the kernel!)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"convert source code into bin file" kandhakumar Linux - Software 2 05-26-2009 03:15 PM
Do i need "RPM Packages" or "SuSe Source code packages" Donati Linux - Software 3 03-19-2009 07:32 PM
Makefile issue: "Makefile.src: File not found" m3rkury Linux - Software 1 02-22-2007 10:15 PM
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 12:48 PM


All times are GMT -5. The time now is 01:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration