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@gmail.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
Tested-by: Petr Stetiar <ynezz@true.cz>
Acked-by: Eric Benard <eric@eukrea.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Tested-by: Paul Menzel <paulepanter@users.sourceforge.net>
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
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