Patchwork [1/1] kernel.bbclass: make FILES package-specific

login
register
mail settings
Submitter tom.zanussi@linux.intel.com
Date May 7, 2013, 1:30 p.m.
Message ID <a5db1ce0751cfa6ac2c24db5e881b17965f8422e.1367933207.git.tom.zanussi@linux.intel.com>
Download mbox | patch
Permalink /patch/49475/
State Accepted
Commit 799c16ed317aed7638e264ee2f92e4b722f1b011
Headers show

Comments

tom.zanussi@linux.intel.com - May 7, 2013, 1:30 p.m.
From: Tom Zanussi <tom.zanussi@linux.intel.com>

Fix QA warnings seen when using 'traditional' kernel recipes e.g.:

WARNING: QA Issue: .../recipes-kernel/linux/linux_3.0.18.bb: Variable
FILES is set as not being package specific, please fix this.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 00e27ef..3320747 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -252,7 +252,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-vmlinux kernel-image kernel-dev kernel-modules"
-FILES = ""
+FILES_${PN} = ""
 FILES_kernel-base = "/lib/modules/${KERNEL_VERSION}/modules.order /lib/modules/${KERNEL_VERSION}/modules.builtin"
 FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
 FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH}"