Signed-off-by: Paul Barker <[email protected]>
---
.../recipes-kernel/linux/copy-defconfig.inc | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
b/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
index 10ecf8ea..65b615cb 100644
--- a/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
+++ b/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
@@ -17,6 +17,9 @@ do_configure_append() {
fi
}
-# Move create_srcipk task so that the release defconfig is included.
-deltask do_create_srcipk
-addtask create_srcipk after do_configure before do_compile
+python __anonymous() {
+ # Move create_srcipk task so that the release defconfig is included.
+ if d.getVarFlag('do_create_srcipk', "task"):
+ bb.build.deltask('do_create_srcipk', d)
+ bb.build.addtask('do_create_srcipk', 'do_configure', 'do_compile', d)
+}
--
2.27.0
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago