From: arshad.super@gmail.com (Arshad Hussain)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Replacing "-custom" in my New Kernel development configuration
Date: Thu, 12 Feb 2015 14:04:03 +0530 [thread overview]
Message-ID: <FD032B4F-054B-4D61-AD72-494ECEDDADB3@gmail.com> (raw)
In-Reply-To: <CALwa49ty-PzB_qFLqX_p5VrqOYRKuGHLynHE-QtewbYG2rZxbQ@mail.gmail.com>
On 12-Feb-2015, at 12:07 pm, s.rawat <imsaurabhrawat@gmail.com> 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/<header_files.h> in my modules to the path of
You have to Modify your Makefile (-C) to point to your source.
make -C $(kennel source) SUBDIRS=$(Your source code folder) modules
> <kernel_source>/include/linux/<header_files.h>.This could be corrective action.I am looking for preventive action .
> CONFIG_LOCALVERSION appends whatever name we want to append after the kernel version.
> I was looking for downloading the kernel headers for the custom kernel I built whose name has been changed to 3.18.5-custom.
> uname -r give => 3.18.5-custom. :( (cant use it sudo apt-get install linux-header-$(uname-r) :(
>
>
>
> "..pain is temporary.....quitting lasts forever....."
> My Blog"
>
> On Wed, Feb 11, 2015 at 11:37 PM, Arshad Hussain <arshad.super@gmail.com> wrote:
>
> On 11-Feb-2015, at 11:18 pm, Vin?cius Tinti <viniciustinti@gmail.com> wrote:
>
> > On Wed, Feb 11, 2015 at 3:42 PM, s.rawat <imsaurabhrawat@gmail.com> 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 in.But now since I
> >> am modifying the kernel and needed headers in /user/src for the same kernel
>
> Your headers for ?-custom? kernel will be under the folder where you have downloaded 3.18.5 kernel.
>
>
> >> name i am using i.e 3.18.5 , but uname-r gives 3.18.5[b]-custom[/b].I can
> >> still install headers with the name 3.18.5 and rename it to 3.18.5-custombut
> >> how is there any other way out to fix this.If I could replace "-custom" in
> >> all the places or do I have to do it manually - in grub, all all other
> >> places?I dont know how many places it has been reference as "-custom".
> >> I might have taken a wrong route i guess :S ! Have I??
> >
> > Take a look at CONFIG_LOCALVERSION option.
> >
> >> Rgds,S
> >>
> >> _______________________________________________
> >> Kernelnewbies mailing list
> >> Kernelnewbies at kernelnewbies.org
> >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >>
> >
> >
> >
> > --
> > Simplicity is the ultimate sophistication
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
prev parent reply other threads:[~2015-02-12 8:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 17:42 Replacing "-custom" in my New Kernel development configuration s.rawat
2015-02-11 17:48 ` Vinícius Tinti
2015-02-11 18:07 ` Arshad Hussain
2015-02-12 6:37 ` s.rawat
2015-02-12 8:30 ` Paul Bolle
2015-02-12 16:31 ` s.rawat
2015-02-12 20:36 ` Paul Bolle
2015-02-12 8:34 ` Arshad Hussain [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FD032B4F-054B-4D61-AD72-494ECEDDADB3@gmail.com \
--to=arshad.super@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.