From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- ...defconfig-Only-move-do_create_srcipk-task.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch (limited to 'bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch') diff --git a/bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch b/bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch new file mode 100644 index 00000000..dce9abb7 --- /dev/null +++ b/bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch @@ -0,0 +1,32 @@ +From aa5193801eb5052eba389f51deacbce7ec74c589 Mon Sep 17 00:00:00 2001 +From: Paul Barker +Date: Sun, 21 Jun 2020 15:20:02 +0100 +Subject: [master/dunfell][PATCH] linux: copy-defconfig: Only move + do_create_srcipk task if it is defined +To: meta-arago@arago-project.org + +Signed-off-by: Paul Barker +--- + .../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 + -- cgit 1.2.3-korg