* [PATCH] kernel.bbclass: Iff exists, copy bounds.h for external module building.
@ 2012-07-28 13:45 Leon Woestenberg
2012-07-30 15:07 ` Bruce Ashfield
0 siblings, 1 reply; 5+ messages in thread
From: Leon Woestenberg @ 2012-07-28 13:45 UTC (permalink / raw)
To: yocto; +Cc: Leon Woestenberg, Scott Garman
From: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
---
meta/classes/kernel.bbclass | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index c21ab96..bd3e335 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -183,6 +183,12 @@ kernel_do_install() {
cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
fi
+ # make -C $kerneldir _mrproper_scripts deleted this file, but we need it for
+ # building external modules like compat-wireless.
+ if [ -f include/generated/bounds.h ]; then
+ cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
+ fi
+
# Remove the following binaries which cause strip errors
# during do_package for cross-compiled platforms
bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \
--
1.7.0.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] kernel.bbclass: Iff exists, copy bounds.h for external module building.
2012-07-28 13:45 [PATCH] kernel.bbclass: Iff exists, copy bounds.h for external module building Leon Woestenberg
@ 2012-07-30 15:07 ` Bruce Ashfield
2012-07-30 15:09 ` Bruce Ashfield
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2012-07-30 15:07 UTC (permalink / raw)
To: Leon Woestenberg; +Cc: yocto, Scott Garman, Leon Woestenberg
On 12-07-28 09:45 AM, Leon Woestenberg wrote:
> From: Leon Woestenberg<leon@sidebranch.com>
>
> Signed-off-by: Leon Woestenberg<leon@sidebranch.com>
> ---
> meta/classes/kernel.bbclass | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index c21ab96..bd3e335 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -183,6 +183,12 @@ kernel_do_install() {
> cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
> fi
>
> + # make -C $kerneldir _mrproper_scripts deleted this file, but we need it for
> + # building external modules like compat-wireless.
> + if [ -f include/generated/bounds.h ]; then
> + cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
> + fi
This change is definitely safer using and older kernel that doesn't have a
generated bounds.h .. but your tree is out of date. This should be on
top of:
commit 9247550642a536f83c6c711ce4bd340e5e5606b7
Author: Denis Carikli <GNUtoo@no-log.org>
Date: Fri Jul 20 16:22:22 2012 -0700
kernel.bbclass: fix external module building
Without that fix we have the following while compiling compat-wireless.
include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No
such file or directory
Note that the compat-wireless recipe will be added in another commit.
make -C $kerneldir _mrproper_scripts deleted this file along with
other things so we resurrect it with this patch.
(From OE-Core rev: 2d114fd0cdf7486f18e53f2bf41c4f559e4b4a8d)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cheers,
Bruce
> +
> # Remove the following binaries which cause strip errors
> # during do_package for cross-compiled platforms
> bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] kernel.bbclass: Iff exists, copy bounds.h for external module building.
2012-07-30 15:07 ` Bruce Ashfield
@ 2012-07-30 15:09 ` Bruce Ashfield
2012-07-30 15:17 ` Leon Woestenberg
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2012-07-30 15:09 UTC (permalink / raw)
To: Leon Woestenberg; +Cc: yocto, Leon Woestenberg, Scott Garman
On 12-07-30 11:07 AM, Bruce Ashfield wrote:
> On 12-07-28 09:45 AM, Leon Woestenberg wrote:
>> From: Leon Woestenberg<leon@sidebranch.com>
>>
Aha. And now I see that Scott G was copied. If this was for 1.2.x of yocto,
that needs to be clearly in the subject .. otherwise it is just
confusing.
My comment still stands that if this is needed for denzil, it should
be the same fixes we have in master, and not something different.
Cheers,
Bruce
>> Signed-off-by: Leon Woestenberg<leon@sidebranch.com>
>> ---
>> meta/classes/kernel.bbclass | 6 ++++++
>> 1 files changed, 6 insertions(+), 0 deletions(-)
>>
>> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
>> index c21ab96..bd3e335 100644
>> --- a/meta/classes/kernel.bbclass
>> +++ b/meta/classes/kernel.bbclass
>> @@ -183,6 +183,12 @@ kernel_do_install() {
>> cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
>> fi
>>
>> + # make -C $kerneldir _mrproper_scripts deleted this file, but we
>> need it for
>> + # building external modules like compat-wireless.
>> + if [ -f include/generated/bounds.h ]; then
>> + cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
>> + fi
>
> This change is definitely safer using and older kernel that doesn't have a
> generated bounds.h .. but your tree is out of date. This should be on
> top of:
>
> commit 9247550642a536f83c6c711ce4bd340e5e5606b7
> Author: Denis Carikli <GNUtoo@no-log.org>
> Date: Fri Jul 20 16:22:22 2012 -0700
>
> kernel.bbclass: fix external module building
>
> Without that fix we have the following while compiling compat-wireless.
> include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such
> file or directory
>
> Note that the compat-wireless recipe will be added in another commit.
>
> make -C $kerneldir _mrproper_scripts deleted this file along with
> other things so we resurrect it with this patch.
>
> (From OE-Core rev: 2d114fd0cdf7486f18e53f2bf41c4f559e4b4a8d)
>
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
>
> Cheers,
>
> Bruce
>
>> +
>> # Remove the following binaries which cause strip errors
>> # during do_package for cross-compiled platforms
>> bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] kernel.bbclass: Iff exists, copy bounds.h for external module building.
2012-07-30 15:09 ` Bruce Ashfield
@ 2012-07-30 15:17 ` Leon Woestenberg
2012-08-01 11:38 ` Leon Woestenberg
0 siblings, 1 reply; 5+ messages in thread
From: Leon Woestenberg @ 2012-07-30 15:17 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: Leon Woestenberg, yocto, Scott Garman, Leon Woestenberg
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
Hello Bruce, Scott,
On Mon, Jul 30, 2012 at 5:09 PM, Bruce Ashfield <
bruce.ashfield@windriver.com> wrote:
> On 12-07-30 11:07 AM, Bruce Ashfield wrote:
>
>> On 12-07-28 09:45 AM, Leon Woestenberg wrote:
>>
>>> From: Leon Woestenberg<leon@sidebranch.**com <leon@sidebranch.com>>
>>>
>>>
> Aha. And now I see that Scott G was copied. If this was for 1.2.x of yocto,
> that needs to be clearly in the subject .. otherwise it is just
> confusing.
>
>
Correct, my intention was for Denzil. Agreed, the full fix should be first
proposed for HEAD, and I should first fix my GIT script foo setup. This
went wrong in several ways.
Regards,
Leon.
[-- Attachment #2: Type: text/html, Size: 1249 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] kernel.bbclass: Iff exists, copy bounds.h for external module building.
2012-07-30 15:17 ` Leon Woestenberg
@ 2012-08-01 11:38 ` Leon Woestenberg
0 siblings, 0 replies; 5+ messages in thread
From: Leon Woestenberg @ 2012-08-01 11:38 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 795 bytes --]
On Mon, Jul 30, 2012 at 5:17 PM, Leon Woestenberg <
sidebranch.openembedded@gmail.com> wrote:
> On 12-07-30 11:07 AM, Bruce Ashfield wrote:
>>
>>> On 12-07-28 09:45 AM, Leon Woestenberg wrote:
>>>
>>>> From: Leon Woestenberg<leon@sidebranch.com>
>>>>
>>>>
>> Aha. And now I see that Scott G was copied. If this was for 1.2.x of
>> yocto,
>> that needs to be clearly in the subject .. otherwise it is just
>> confusing.
>>
>>
> On Mon, Jul 30, 2012 at 5:09 PM, Bruce Ashfield <
> bruce.ashfield@windriver.com> wrote:
> Correct, my intention was for Denzil. Agreed, the full fix should be first
> proposed for HEAD, and I should first fix my GIT script foo setup. This
> went wrong in several ways.
>
> Fixed in separate attempt. This thread is closed.
Thanks,
Leon.
[-- Attachment #2: Type: text/html, Size: 1610 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-08-01 11:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-28 13:45 [PATCH] kernel.bbclass: Iff exists, copy bounds.h for external module building Leon Woestenberg
2012-07-30 15:07 ` Bruce Ashfield
2012-07-30 15:09 ` Bruce Ashfield
2012-07-30 15:17 ` Leon Woestenberg
2012-08-01 11:38 ` Leon Woestenberg
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.