Re: [OE-core] [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel

2013-04-09 Thread Michel Thebeau
On 13-04-08 05:48 PM, Richard Purdie wrote: > On Mon, 2013-04-08 at 17:28 -0400, Michel Thebeau wrote: >> >> On 13-04-08 05:24 PM, michel.theb...@windriver.com wrote: >>> From: Michel Thebeau >>> >>> Allow recipes to specify sections to be stripped from the kernel output >>> using KERNEL_IMAGE_S

Re: [OE-core] [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel

2013-04-08 Thread Richard Purdie
On Mon, 2013-04-08 at 17:28 -0400, Michel Thebeau wrote: > > On 13-04-08 05:24 PM, michel.theb...@windriver.com wrote: > > From: Michel Thebeau > > > > Allow recipes to specify sections to be stripped from the kernel output > > using KERNEL_IMAGE_STRIP. For example: > > > > KERNEL_IMAGE_STRIP

Re: [OE-core] [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel

2013-04-08 Thread Michel Thebeau
On 13-04-08 05:24 PM, michel.theb...@windriver.com wrote: > From: Michel Thebeau > > Allow recipes to specify sections to be stripped from the kernel output > using KERNEL_IMAGE_STRIP. For example: > > KERNEL_IMAGE_STRIP = ".comment .unwanted" s/KERNEL_IMAGE_STRIP/KERNEL_IMAGE_STRIP_EXTRA_SE

[OE-core] [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel

2013-04-08 Thread michel . thebeau
From: Michel Thebeau Allow recipes to specify sections to be stripped from the kernel output using KERNEL_IMAGE_STRIP. For example: KERNEL_IMAGE_STRIP = ".comment .unwanted" The kernel output is stripped in place. Since the toolchain does not give indication when the specified sections are ab

Re: [OE-core] [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel

2013-04-08 Thread Michel Thebeau
On 13-04-08 04:54 PM, Richard Purdie wrote: > On Mon, 2013-04-08 at 16:15 -0400, michel.theb...@windriver.com wrote: >> From: Michel Thebeau >> >> Allow recipes to specify sections to be stripped from the kernel output >> using KERNEL_IMAGE_STRIP_EXTRA_SECTIONS. For example: >> >> KERNEL_IMAGE_

Re: [OE-core] [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel

2013-04-08 Thread Richard Purdie
On Mon, 2013-04-08 at 16:15 -0400, michel.theb...@windriver.com wrote: > From: Michel Thebeau > > Allow recipes to specify sections to be stripped from the kernel output > using KERNEL_IMAGE_STRIP_EXTRA_SECTIONS. For example: > > KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment .unwanted" > > The

[OE-core] [PATCH 2/2] kernel.bbclass: do_strip: allow recipes to strip the kernel

2013-04-08 Thread michel . thebeau
From: Michel Thebeau Allow recipes to specify sections to be stripped from the kernel output using KERNEL_IMAGE_STRIP_EXTRA_SECTIONS. For example: KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment .unwanted" The file to be stripped is a copy of ${KERNEL_OUTPUT} and will be given the same name with