mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cb3de7d9ca
commit
5d87fb8b7b
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user