summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorNoor, Ahsan <noor_ahsan@mentor.com>2011-08-02 17:30:18 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-04 15:01:18 +0100
commit5bbc3533710d82da0b35c70410b1a9019ab70336 (patch)
treec1ed0a0755c12a103f7ceb343c3d78c4615926c1 /meta/classes/kernel.bbclass
parentcb935833a128d67e6c1fbe745cf68a58df6470d1 (diff)
downloadopenembedded-core-5bbc3533710d82da0b35c70410b1a9019ab70336.tar.gz
openembedded-core-5bbc3533710d82da0b35c70410b1a9019ab70336.tar.bz2
openembedded-core-5bbc3533710d82da0b35c70410b1a9019ab70336.tar.xz
openembedded-core-5bbc3533710d82da0b35c70410b1a9019ab70336.zip
kernel.bbcalss: Added do_savedefconfig task.
* Added do_savedefconfig task to kernel.bbclass. Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 25d2629a7..f2f05b117 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -197,6 +197,12 @@ kernel_do_configure() {
do_configure[depends] += "${INITRAMFS_TASK}"
+do_savedefconfig() {
+ oe_runmake savedefconfig
+}
+do_savedefconfig[nostamp] = "1"
+addtask savedefconfig after do_configure
+
pkg_postinst_kernel () {
cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
}