aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/linux/linux.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 24e3406e96..beecf5c11d 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -254,6 +254,12 @@ do_devicetree_image() {
addtask devicetree_image after do_install before do_package do_deploy
+do_savedefconfig() {
+ oe_runmake savedefconfig
+}
+
+addtask savedefconfig after do_configure
+
pkg_postinst_kernel-devicetree () {
cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/devicetree devicetree devicetree-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
}