summaryrefslogtreecommitdiffstats
path: root/meta
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:04:34 +0100
commit5d87fb8b7bda7da3b77e0c99425efc3525654426 (patch)
tree07a1b0f80d2321d5738b170c693d9d143371a0d4 /meta
parentcb3de7d9ca133b5980dd2aecdd10fc6d78670a24 (diff)
downloadpoky-5d87fb8b7bda7da3b77e0c99425efc3525654426.tar.gz
kernel.bbcalss: Added do_savedefconfig task.
* Added do_savedefconfig task to kernel.bbclass. (From OE-Core rev: 5bbc3533710d82da0b35c70410b1a9019ab70336) Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 25d2629a71..f2f05b1171 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -197,6 +197,12 @@ kernel_do_configure() {
197 197
198do_configure[depends] += "${INITRAMFS_TASK}" 198do_configure[depends] += "${INITRAMFS_TASK}"
199 199
200do_savedefconfig() {
201 oe_runmake savedefconfig
202}
203do_savedefconfig[nostamp] = "1"
204addtask savedefconfig after do_configure
205
200pkg_postinst_kernel () { 206pkg_postinst_kernel () {
201 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true 207 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
202} 208}