diff options
author | Noor, Ahsan <noor_ahsan@mentor.com> | 2011-08-02 17:30:18 +0500 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-05 19:49:59 +0200 |
commit | d375bad5c81a8e67fda0f21ba82f6b48659f05fe (patch) | |
tree | a57c8a23e8d7f7030796fb4d7813953ab48fa94a /meta-oe/classes | |
parent | ed1d90505459c55c91f6dcf2525774c11c674d22 (diff) | |
download | meta-openembedded-d375bad5c81a8e67fda0f21ba82f6b48659f05fe.tar.gz |
kernel.bbcalss: Added do_savedefconfig task.
* Added do_savedefconfig task to kernel.bbclass.
Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r-- | meta-oe/classes/kernel.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass index 19bea292c..7c9bb10ef 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
@@ -203,6 +203,12 @@ kernel_do_configure() { | |||
203 | 203 | ||
204 | do_configure[depends] += "${INITRAMFS_TASK}" | 204 | do_configure[depends] += "${INITRAMFS_TASK}" |
205 | 205 | ||
206 | do_savedefconfig() { | ||
207 | oe_runmake savedefconfig | ||
208 | } | ||
209 | do_savedefconfig[nostamp] = "1" | ||
210 | addtask savedefconfig after do_configure | ||
211 | |||
206 | pkg_postinst_kernel () { | 212 | pkg_postinst_kernel () { |
207 | cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true | 213 | cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true |
208 | } | 214 | } |