Patchwork [CONSOLIDATED,PULL,v2,19/33] kernel.bbcalss: Added do_savedefconfig task.

login
register
mail settings
Submitter Saul Wold
Date Aug. 3, 2011, 10:11 p.m.
Message ID <9f6170bcf1d7a29439ea54833bbc7283994db61d.1312407628.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/9275/
State New, archived
Headers show

Comments

Saul Wold - Aug. 3, 2011, 10:11 p.m.
From: Noor, Ahsan <noor_ahsan@mentor.com>

* Added do_savedefconfig task to kernel.bbclass.

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
---
 meta/classes/kernel.bbclass |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 25d2629..f2f05b1 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
 }