Skip to content
Snippets Groups Projects
Unverified Commit afc1e0ad authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

sysota: Allow network in do_compile


sysota is a go project using go modules. Due to how this support is
currently implemented in the core, the recipe will download the
dependent go packages during compile.

On the other hand, lately, the core also defaulted to a restricted
network environment in the compile task breaking (but for good reasons)
the compilation of sysota. This situation was done as a forcing function
for the community to react and improve the current implementation of go
mods in the core. For now, we workaround it as this doesn't change the
current limitations/behaviour while we investigate better options in the
core.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 64895e3f
No related branches found
No related tags found
1 merge request!30flavours/zephyr/local.conf.sample: Bump CONF_VERSION
...@@ -77,6 +77,8 @@ do_compile:append() { ...@@ -77,6 +77,8 @@ do_compile:append() {
oe_runmake -C ${B}/make-build --warn-undefined-variables Go.Cmd=/bin/false oe_runmake -C ${B}/make-build --warn-undefined-variables Go.Cmd=/bin/false
} }
do_compile[network] = "1"
do_install:append() { do_install:append() {
oe_runmake -C ${B}/make-build --warn-undefined-variables install DESTDIR=${D} oe_runmake -C ${B}/make-build --warn-undefined-variables install DESTDIR=${D}
......
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