summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorNoor, Ahsan <noor_ahsan@mentor.com>2011-08-02 17:30:18 +0500
committerKoen Kooi <koen@dominion.thruhere.net>2011-08-05 19:49:59 +0200
commitd375bad5c81a8e67fda0f21ba82f6b48659f05fe (patch)
treea57c8a23e8d7f7030796fb4d7813953ab48fa94a /meta-oe/classes
parented1d90505459c55c91f6dcf2525774c11c674d22 (diff)
downloadmeta-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.bbclass6
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
204do_configure[depends] += "${INITRAMFS_TASK}" 204do_configure[depends] += "${INITRAMFS_TASK}"
205 205
206do_savedefconfig() {
207 oe_runmake savedefconfig
208}
209do_savedefconfig[nostamp] = "1"
210addtask savedefconfig after do_configure
211
206pkg_postinst_kernel () { 212pkg_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}