diff --git a/meta-oniro-core/recipes-core/sysota/sysota_git.bb b/meta-oniro-core/recipes-core/sysota/sysota_git.bb
index c71bf9cfb476336420a240f41403c0d90f141caf..7f529e9269a2e049215b283c5e3139574e334760 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.