Revert "wpa-supplicant : moved unused files to obsolete dir"
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 30 Sep 2010 06:28:41 +0000 (08:28 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 30 Sep 2010 06:30:16 +0000 (08:30 +0200)
This reverts commit 9a5382aad4e5a3e52fa52722cf5587fdba958e9f.
This one accidentally also dragged in classes/kernel.bbclass

I will redo the commit for wpa-supplicant later.
classes/kernel.bbclass will be se a separate commit

Thanks for Paul Menzel for spotting this

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
classes/kernel.bbclass
recipes/wpa-supplicant/files/use-channel.patch [moved from recipes/obsolete/wpa-supplicant/files/use-channel.patch with 100% similarity]

index cfb4ad8..5f8bc8a 100644 (file)
@@ -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