summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEric Benard <eric@eukrea.com>2010-05-06 18:00:58 +0200
committerTom Rini <tom_rini@mentor.com>2010-05-07 09:20:58 -0700
commit8f712018ecd8314abb78affe9094ea272a231685 (patch)
tree51453fd97e54d35f3155960695c8cc0464a0079d /classes
parentfe4ff6940b06c73d5b88224b99750bf65accf13d (diff)
kernel.bbclass: fix staging of .config
- in staging.bb : sysroot_stage_dir does : cp -fpPR "$src"/* "$dest" which means it won't copy .config - so do the copy of .config in sysroot_stage_all_append after sysroot_stage_dir Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 989d3e3a21..a157dfc0e9 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -203,6 +203,7 @@ kernel_do_install() {
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() {