Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-18-2012
Registered User
 
Join Date: May 2010
Posts: 134
Thanks: 86
Thanked 1 Time in 1 Post
Linux kernel modules makefiles doubts

This query is regarding the makefiles of linux kernel modules.
I saw at some sites on net it is suggesting to include the following path:
KERNEL_SOURCE := /usr/src/linux...

while at some places it is askibg to include /lib/modules path:
KERNEL_SOURCE := /lib/modules/2.6.27-7-generic/build

I see that lib/modules links to the usr/src/linux... folder.

What is the difference between the two paths and how it will impact me if I include the first path?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux: passing parameters to kernel modules funksen Emergency UNIX and Linux Support !! Help Me!! 3 05-16-2012 06:26 AM
Debugging Linux Kernel Modules rupeshkp728 Programming 1 02-12-2012 12:57 PM
Doubts about timers in linux kernel iamjayanth Programming 4 02-24-2009 12:53 AM
Information about kernel modules slash_blog HP-UX 0 05-25-2007 04:14 AM



All times are GMT -4. The time now is 06:23 PM.