summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
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 17:35:46 +0100
commitf977512857eb0ce2faa053e3f5130cb370bf022c (patch)
treeeb25c3b712fd26c5e6d90eb27a0965403cfd5ea9 /meta/classes/kernel.bbclass
parent9bef7e5d602b604cf6b40bb828babf2404882e04 (diff)
downloadpoky-f977512857eb0ce2faa053e3f5130cb370bf022c.tar.gz
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. (From OE-Core rev: 73a1101044465d74bb5bb1a449f757d5c50ff67e) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.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, 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() {
103 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 103 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
104 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 104 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
105 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install 105 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
106 rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order"
107 rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin"
106 else 108 else
107 bbnote "no modules to install" 109 bbnote "no modules to install"
108 fi 110 fi