summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-09-18 02:18:17 +0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 15:50:12 +0100
commit73a1101044465d74bb5bb1a449f757d5c50ff67e (patch)
tree3d872515f596449180836478137b764c9e06a80b /meta/classes
parent843093658c528d7e5297dd5fb7c90e1a64540ba5 (diff)
downloadopenembedded-core-73a1101044465d74bb5bb1a449f757d5c50ff67e.tar.gz
openembedded-core-73a1101044465d74bb5bb1a449f757d5c50ff67e.tar.bz2
openembedded-core-73a1101044465d74bb5bb1a449f757d5c50ff67e.zip
kernel.bbclass: remove unshipped files in do_install
Drop two unsed files (modules.order and modules.builtin) in do_install to stop the "unshipped files" warning. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 004a10b8e1..42543e0e4f 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -103,6 +103,8 @@ kernel_do_install() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
+ rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order"
+ rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin"
else
bbnote "no modules to install"
fi