wpa-supplicant : moved unused files to obsolete dir
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 29 Sep 2010 20:43:37 +0000 (22:43 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 29 Sep 2010 20:43:37 +0000 (22:43 +0200)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
classes/kernel.bbclass
recipes/obsolete/wpa-supplicant/files/use-channel.patch [moved from recipes/wpa-supplicant/files/use-channel.patch with 100% similarity]

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