Patchwork kernel.bbclass: move kernel-vmlinux up in PACKAGES

login
register
mail settings
Submitter Christopher Larson
Date May 3, 2012, 1:28 a.m.
Message ID <1336008514-26806-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/26869/
State Accepted
Commit b62a44a9bf7b268296aeed64469390aa7efc2e73
Headers show

Comments

Christopher Larson - May 3, 2012, 1:28 a.m.
If KERNEL_IMAGETYPE is vmlinux, the expectation is most likely that there will
be no kernel image package, but we still want a vmlinux package for debugging,
so move kernel-vmlinux in front of kernel-image in PACKAGES.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Saul Wold - May 3, 2012, 8:09 p.m.
On 05/02/2012 06:28 PM, Christopher Larson wrote:
> If KERNEL_IMAGETYPE is vmlinux, the expectation is most likely that there will
> be no kernel image package, but we still want a vmlinux package for debugging,
> so move kernel-vmlinux in front of kernel-image in PACKAGES.
>
> Signed-off-by: Christopher Larson<kergoth@gmail.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 3519e7c..d81b33c 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -247,7 +247,7 @@ EXPORT_FUNCTIONS do_compile do_install do_configure
>
>   # kernel-base becomes kernel-${KERNEL_VERSION}
>   # kernel-image becomes kernel-image-${KERNEL_VERISON}
> -PACKAGES = "kernel kernel-base kernel-image kernel-dev kernel-vmlinux kernel-misc"
> +PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev kernel-misc"
>   FILES = ""
>   FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
>   FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config*"
Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 3519e7c..d81b33c 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -247,7 +247,7 @@  EXPORT_FUNCTIONS do_compile do_install do_configure
 
 # kernel-base becomes kernel-${KERNEL_VERSION}
 # kernel-image becomes kernel-image-${KERNEL_VERISON}
-PACKAGES = "kernel kernel-base kernel-image kernel-dev kernel-vmlinux kernel-misc"
+PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev kernel-misc"
 FILES = ""
 FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
 FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config*"