Patchwork [CONSOLIDATED,PULL,06/28] kernel.bbclass: fix external module building

login
register
mail settings
Submitter Saul Wold
Date July 25, 2012, 7:19 a.m.
Message ID <5f5ffa09c545046fc2e798494c61022574424645.1343200454.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/32977/
State New
Headers show

Comments

Saul Wold - July 25, 2012, 7:19 a.m.
From: Denis Carikli <GNUtoo@no-log.org>

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.

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>
---
 meta/classes/kernel.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Leon Woestenberg - July 26, 2012, 5:21 p.m.
Hello Saul,

On Wed, Jul 25, 2012 at 9:19 AM, Saul Wold <sgw@linux.intel.com> wrote:

> +       # Necessary for building modules like compat-wireless.
> +       cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
> +
>

Thanks, can we get this merged into the Denzil branch as well?

In general, how are commits selected for release branches?

Regards,

Leon 'likewise' Woestenberg
Saul Wold - July 26, 2012, 6:46 p.m.
On 07/26/2012 10:21 AM, Leon Woestenberg wrote:
> Hello Saul,
>
Please check with Scott Garman (cc'ed) he is the stable maintainer for 
1.2.1 (Denzil).

Sau!

> On Wed, Jul 25, 2012 at 9:19 AM, Saul Wold <sgw@linux.intel.com
> <mailto:sgw@linux.intel.com>> wrote:
>
>     +       # Necessary for building modules like compat-wireless.
>     +       cp include/generated/bounds.h
>     $kerneldir/include/generated/bounds.h
>     +
>
>
> Thanks, can we get this merged into the Denzil branch as well?
>
> In general, how are commits selected for release branches?
>
> Regards,
>
> Leon 'likewise' Woestenberg
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Patch

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 08b5e61..ce4d7de 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -187,6 +187,9 @@  kernel_do_install() {
 		cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
 	fi
 
+	# Necessary for building modules like compat-wireless.
+	cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
+
 	# Remove the following binaries which cause strip or arch QA errors
 	# during do_package for cross-compiled platforms
 	bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \