[oe-commits] Eric Benard : kernel.bbclass: fix staging of .config
git version control
git at git.openembedded.org
Fri May 7 16:21:10 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8f712018ecd8314abb78affe9094ea272a231685
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8f712018ecd8314abb78affe9094ea272a231685
Author: Eric Benard <eric at eukrea.com>
Date: Thu May 6 18:00:58 2010 +0200
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 at eukrea.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
classes/kernel.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 989d3e3..a157dfc 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() {
More information about the Openembedded-commits
mailing list