Patchwork [1/1] module-base: remove KERNEL-SOURCE

login
register
mail settings
Submitter Anders Darander
Date July 5, 2011, 2:55 p.m.
Message ID <977364608aaefbf5b73bdd6ef5c7c8b59d2f52b7.1309877488.git.anders@chargestorm.se>
Download mbox | patch
Permalink /patch/6985/
State Accepted
Headers show

Comments

Anders Darander - July 5, 2011, 2:55 p.m.
kernel-source do not exist in STAGING_KERNEL_DIR any longer.
Remove the exported KERNEL_SOURCE as the STAGING_KERNEL_DIR can
be used in module recipes directly.

Signed-off-by: Anders Darander <anders@chargestorm.se>
---
 meta/classes/module-base.bbclass |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Richard Purdie - July 7, 2011, 10:11 a.m.
On Tue, 2011-07-05 at 16:55 +0200, Anders Darander wrote:
> kernel-source do not exist in STAGING_KERNEL_DIR any longer.
> Remove the exported KERNEL_SOURCE as the STAGING_KERNEL_DIR can
> be used in module recipes directly.
> 
> Signed-off-by: Anders Darander <anders@chargestorm.se>
> ---
>  meta/classes/module-base.bbclass |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass
> index a7cf233..1a39cc1 100644
> --- a/meta/classes/module-base.bbclass
> +++ b/meta/classes/module-base.bbclass
> @@ -6,7 +6,6 @@ export OS = "${TARGET_OS}"
>  export CROSS_COMPILE = "${TARGET_PREFIX}"
>  
>  export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}"
> -export KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')}"
>  KERNEL_OBJECT_SUFFIX = ".ko"
>  KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}"
>  KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}"

Merged to master, thanks.

Richard

Patch

diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass
index a7cf233..1a39cc1 100644
--- a/meta/classes/module-base.bbclass
+++ b/meta/classes/module-base.bbclass
@@ -6,7 +6,6 @@  export OS = "${TARGET_OS}"
 export CROSS_COMPILE = "${TARGET_PREFIX}"
 
 export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}"
-export KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')}"
 KERNEL_OBJECT_SUFFIX = ".ko"
 KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}"
 KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}"