diff options
author | Noor, Ahsan <noor_ahsan@mentor.com> | 2011-08-02 17:30:18 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-04 15:04:34 +0100 |
commit | 5d87fb8b7bda7da3b77e0c99425efc3525654426 (patch) | |
tree | 07a1b0f80d2321d5738b170c693d9d143371a0d4 /meta/classes | |
parent | cb3de7d9ca133b5980dd2aecdd10fc6d78670a24 (diff) | |
download | poky-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/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
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 | ||
198 | do_configure[depends] += "${INITRAMFS_TASK}" | 198 | do_configure[depends] += "${INITRAMFS_TASK}" |
199 | 199 | ||
200 | do_savedefconfig() { | ||
201 | oe_runmake savedefconfig | ||
202 | } | ||
203 | do_savedefconfig[nostamp] = "1" | ||
204 | addtask savedefconfig after do_configure | ||
205 | |||
200 | pkg_postinst_kernel () { | 206 | pkg_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 | } |