aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-04 15:47:21 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-04 15:47:21 +0200
commit98037f10625acdc68d35d94dfbce6cafff9fbe99 (patch)
tree663365ca05d48778233d4a8dc7893b244ebcab81
parentf6b92a2ef1071313b73cedeb5ced9a20d5799eda (diff)
downloadopenembedded-98037f10625acdc68d35d94dfbce6cafff9fbe99.zip
openembedded-98037f10625acdc68d35d94dfbce6cafff9fbe99.tar.gz
openembedded-98037f10625acdc68d35d94dfbce6cafff9fbe99.tar.bz2
kernel.bbclass: set kerneldir
commit b6cc4bc217e695801db060a1366915a870cab5db moved work from kernel_do_install to sysroot_stage_all_append This change changed kerneldir and staged directy from ${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR}. This works fine but the patch removed the line kerneldir=${D}/kernel/ from do_install. However, some kernel recipes have a do_install_append which references ${kerneldir}. This patch adds setting kerneldir to the end of do_install so the value is available for everyone who appends Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-rw-r--r--classes/kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index cfb4ad8..cf6b8cd 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -121,7 +121,9 @@ kernel_do_install() {
oe_runmake SUBDIRS="scripts/genksyms"
fi
-
+ # we need to set kerneldir here as some kernels have a do_install_append
+ # which assumes kerneldir is set
+ kerneldir=${D}/kernel/
}
sysroot_stage_all_append() {