[oe-commits] Frans Meulenbroeks : kernel.bbclass: avoid NOTE messages for files that are staged but not packaged
git version control
git at git.openembedded.org
Thu Sep 30 19:40:46 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: b6cc4bc217e695801db060a1366915a870cab5db
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b6cc4bc217e695801db060a1366915a870cab5db
Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date: Wed Sep 29 22:27:35 2010 +0200
kernel.bbclass: avoid NOTE messages for files that are staged but not packaged
copy the files directly from the work area to staging. That way
there are no unpackaged files in image/ so no NOTE messages.
Additional advantage is that it is faster as we save the copy to the image dir.
See also http://thread.gmane.org/gmane.comp.handhelds.openembedded/37487
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Acked-by: Roman I Khimov <khimov at altell.ru>
Tested-by: Petr Stetiar <ynezz at true.cz>
Acked-by: Eric Benard <eric at eukrea.com>
Acked-by: Denys Dmytriyenko <denis at denix.org>
Tested-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
classes/kernel.bbclass | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 5f8bc8a..cfb4ad8 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -121,7 +121,12 @@ kernel_do_install() {
oe_runmake SUBDIRS="scripts/genksyms"
fi
- kerneldir=${D}/kernel/
+
+}
+
+sysroot_stage_all_append() {
+
+ kerneldir=${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR}
if [ -e include/asm ] ; then
# This link is generated only in kernel before 2.6.33-rc1, don't stage it for newer kernels
@@ -200,11 +205,6 @@ kernel_do_install() {
cp -fR scripts $kerneldir/
}
-sysroot_stage_all_append() {
- sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR}
- cp -fpPR ${D}/kernel/.config ${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR}
-}
-
kernel_do_configure() {
yes '' | oe_runmake oldconfig
if [ ! -z "${INITRAMFS_IMAGE}" ]; then
More information about the Openembedded-commits
mailing list