summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-05-07 08:30:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-10 09:45:43 +0100
commit799c16ed317aed7638e264ee2f92e4b722f1b011 (patch)
tree1bcd3598ab14d6532e76e7ff1af2cfe4d348af1f /meta/classes/kernel.bbclass
parent3fb0e792600b5adb58bc5fca90d8605c1c76280f (diff)
downloadopenembedded-core-799c16ed317aed7638e264ee2f92e4b722f1b011.tar.gz
openembedded-core-799c16ed317aed7638e264ee2f92e4b722f1b011.tar.bz2
openembedded-core-799c16ed317aed7638e264ee2f92e4b722f1b011.zip
kernel.bbclass: make FILES package-specific
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 00e27ef76d..33207470cf 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}"