From 73a1101044465d74bb5bb1a449f757d5c50ff67e Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Sun, 18 Sep 2011 02:18:17 +0400 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/kernel.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') 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 -- cgit v1.2.3