diff options
-rw-r--r-- | classes/kernel.bbclass | 12 | ||||
-rw-r--r-- | recipes/wpa-supplicant/files/use-channel.patch (renamed from recipes/obsolete/wpa-supplicant/files/use-channel.patch) | 0 |
2 files changed, 6 insertions, 6 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index cfb4ad8826..5f8bc8a905 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -121,12 +121,7 @@ kernel_do_install() { oe_runmake SUBDIRS="scripts/genksyms" fi - -} - -sysroot_stage_all_append() { - - kerneldir=${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR} + kerneldir=${D}/kernel/ if [ -e include/asm ] ; then # This link is generated only in kernel before 2.6.33-rc1, don't stage it for newer kernels @@ -205,6 +200,11 @@ sysroot_stage_all_append() { 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 diff --git a/recipes/obsolete/wpa-supplicant/files/use-channel.patch b/recipes/wpa-supplicant/files/use-channel.patch index 337c0422cd..337c0422cd 100644 --- a/recipes/obsolete/wpa-supplicant/files/use-channel.patch +++ b/recipes/wpa-supplicant/files/use-channel.patch |