Skip to content
Snippets Groups Projects
Commit a5308add authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

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: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 249f2a49
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ GO_IMPORT = "booting.oniroproject.org/distro/components/sysota" ...@@ -42,7 +42,7 @@ GO_IMPORT = "booting.oniroproject.org/distro/components/sysota"
DEPENDS += "zmk-native pkgconfig-native systemd" DEPENDS += "zmk-native pkgconfig-native systemd"
EXTRA_OEMAKE += "-I${RECIPE_SYSROOT_NATIVE}/usr/include" EXTRA_OEMAKE += "-I${RECIPE_SYSROOT_NATIVE}/usr/include"
do_configure[dirs] =+ "${B}/make-build" do_configure[cleandirs] =+ "${B}/make-build"
do_configure_append() { do_configure_append() {
# Note that path ${S}/src/${GO_IMPORT} is hard-coded in go.bbclass. # Note that path ${S}/src/${GO_IMPORT} is hard-coded in go.bbclass.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment