From a5308add33aa4a4a31af14a70329fba37fc1d554 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Date: Thu, 4 Nov 2021 12:25:14 +0000 Subject: [PATCH] sysota: cleandirs make-based build tree This fixes build failure with an existing build tree: ln: failed to create symbolic link 'Makefile': File exists The CI process never caught this and the developer who introduced the recipe uses rm_work locally, so this was not seen during daily development. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> --- meta-oniro-core/recipes-core/sysota/sysota_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oniro-core/recipes-core/sysota/sysota_git.bb b/meta-oniro-core/recipes-core/sysota/sysota_git.bb index c71bf9cf..7f529e92 100644 --- a/meta-oniro-core/recipes-core/sysota/sysota_git.bb +++ b/meta-oniro-core/recipes-core/sysota/sysota_git.bb @@ -42,7 +42,7 @@ GO_IMPORT = "booting.oniroproject.org/distro/components/sysota" DEPENDS += "zmk-native pkgconfig-native systemd" EXTRA_OEMAKE += "-I${RECIPE_SYSROOT_NATIVE}/usr/include" -do_configure[dirs] =+ "${B}/make-build" +do_configure[cleandirs] =+ "${B}/make-build" do_configure_append() { # Note that path ${S}/src/${GO_IMPORT} is hard-coded in go.bbclass. -- GitLab