Re: Replacing "-custom" in my New Kernel development configuration

2015-02-12 Thread Paul Bolle
s.rawat schreef op do 12-02-2015 om 22:01 [+0530]: > Yes I am building the external modules .The > headers(linux/) I have included the way I have said above. That is: in the way I called "certainly the wrong thing to do"? > The reason i asked this is becuase my driver modules compiles without >

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-12 Thread s.rawat
On Thu, Feb 12, 2015 at 2:00 PM, Paul Bolle wrote: > On Thu, 2015-02-12 at 12:07 +0530, s.rawat wrote: > > Yes the headers are there in the sources of 3.18.5 kernel.But then I > > have to change all the references to linux/ in my > > modules to the path of > > /include/linux/.This could be > > co

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-12 Thread Arshad Hussain
On 12-Feb-2015, at 12:07 pm, s.rawat wrote: > Yes the headers are there in the sources of 3.18.5 kernel.But then I have to > change all the references to linux/ in my modules to the path > of You have to Modify your Makefile (-C) to point to your source. make -C $(kennel source) SUBDIRS=$(Y

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-12 Thread Paul Bolle
On Thu, 2015-02-12 at 12:07 +0530, s.rawat wrote: > Yes the headers are there in the sources of 3.18.5 kernel.But then I > have to change all the references to linux/ in my > modules to the path of > /include/linux/.This could be > corrective action.I am looking for preventive action . Changing th

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread s.rawat
Yes the headers are there in the sources of 3.18.5 kernel.But then I have to change all the references to linux/ in my modules to the path of /include/linux/.This could be corrective action.I am looking for preventive action . CONFIG_LOCALVERSION appends whatever name we want to append after the ke

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread Arshad Hussain
On 11-Feb-2015, at 11:18 pm, Vinícius Tinti wrote: > On Wed, Feb 11, 2015 at 3:42 PM, s.rawat wrote: >> Hello, >> I recently built the 3.18.5 kernel according to instruction on the >> linuxkernel newbie page .I used /sbin/installkernel script to install the >> modules and updated the grub.cnf.

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread Vinícius Tinti
On Wed, Feb 11, 2015 at 3:42 PM, s.rawat wrote: > Hello, > I recently built the 3.18.5 kernel according to instruction on the > linuxkernel newbie page .I used /sbin/installkernel script to install the > modules and updated the grub.cnf. > On a reboot i get option 3.18.5[b]-custom[/b] and booted i

Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread s.rawat
Hello, I recently built the 3.18.5 kernel according to instruction on the linuxkernel newbie page .I used /sbin/installkernel script to install the modules and updated the grub.cnf. On a reboot i get option 3.18.5[b]-custom[/b] and booted in.But now since I am modifying the kernel and needed header