Patchwork [v2,1/1] kernel.bbclass: stage additional directories

login
register
mail settings
Submitter Prathap M S
Date Nov. 22, 2011, 5:53 a.m.
Message ID <1321941210-4344-1-git-send-email-msprathap@ti.com>
Download mbox | patch
Permalink /patch/15225/
State New
Headers show

Comments

Prathap M S - Nov. 22, 2011, 5:53 a.m.
* The graphics SDK requires additional directories to be staged
  for compilation.

Signed-off-by: Prathap M S <msprathap@ti.com>
---
 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Koen Kooi - Nov. 22, 2011, 7:41 a.m.
Op 22 nov. 2011, om 06:53 heeft Prathap M S het volgende geschreven:

> * The graphics SDK requires additional directories to be staged
>  for compilation.
> 
> Signed-off-by: Prathap M S <msprathap@ti.com>
> ---
> meta/classes/kernel.bbclass |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 12e0b83..b00461b 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -243,7 +243,7 @@ FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
> FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config*"
> FILES_kernel-vmlinux = "/boot/vmlinux*"
> # misc is a package to contain files we need in staging
> -FILES_kernel-misc = "/kernel/include/config /kernel/scripts /kernel/drivers/crypto /kernel/drivers/media"
> +FILES_kernel-misc = "/kernel/include/config /kernel/scripts /kernel/drivers/crypto /kernel/drivers/media /kernel/drivers/video /kernel/drivers/gpu /kernel/drivers/base"

This doesn't make it stage anything, it just adds a few dirs to the kernel-misc package.
Prathap M S - Nov. 22, 2011, 10:44 a.m.
OK. For building the graphics SDK 04.04.0.02 we require kernel to have and built with drivers/video, drivers/gpu and drivers/base folder.
I thought this kernel.bbclass takes care of it . 
If not, let me know which is the recipe that will take care of this.


-----Original Message-----
From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
Sent: Tuesday, November 22, 2011 1:11 PM
To: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH v2 1/1] kernel.bbclass: stage additional directories


Op 22 nov. 2011, om 06:53 heeft Prathap M S het volgende geschreven:

> * The graphics SDK requires additional directories to be staged
>  for compilation.
> 
> Signed-off-by: Prathap M S <msprathap@ti.com>
> ---
> meta/classes/kernel.bbclass |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 12e0b83..b00461b 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -243,7 +243,7 @@ FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
> FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config*"
> FILES_kernel-vmlinux = "/boot/vmlinux*"
> # misc is a package to contain files we need in staging
> -FILES_kernel-misc = "/kernel/include/config /kernel/scripts /kernel/drivers/crypto /kernel/drivers/media"
> +FILES_kernel-misc = "/kernel/include/config /kernel/scripts /kernel/drivers/crypto /kernel/drivers/media /kernel/drivers/video /kernel/drivers/gpu /kernel/drivers/base"

This doesn't make it stage anything, it just adds a few dirs to the kernel-misc package.

Patch

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 12e0b83..b00461b 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -243,7 +243,7 @@  FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
 FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config*"
 FILES_kernel-vmlinux = "/boot/vmlinux*"
 # misc is a package to contain files we need in staging
-FILES_kernel-misc = "/kernel/include/config /kernel/scripts /kernel/drivers/crypto /kernel/drivers/media"
+FILES_kernel-misc = "/kernel/include/config /kernel/scripts /kernel/drivers/crypto /kernel/drivers/media /kernel/drivers/video /kernel/drivers/gpu /kernel/drivers/base"
 RDEPENDS_kernel = "kernel-base"
 # Allow machines to override this dependency if kernel image files are 
 # not wanted in images as standard