mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 18:29:43 +00:00
netdata: Enable network during do_compile only when go support is enabled
Makes the hammer a bit smaller, since we do not enable go by default in packageconfig's it helps with yocto check layer with default config. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
4b2789b90b
commit
09d3af94b0
@ -50,7 +50,7 @@ CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'go', \
|
|||||||
INSANE_SKIP:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'go', 'already-stripped buildpaths', '', d)}"
|
INSANE_SKIP:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'go', 'already-stripped buildpaths', '', d)}"
|
||||||
|
|
||||||
# network is required by go to get dependent packages
|
# network is required by go to get dependent packages
|
||||||
do_compile[network] = "1"
|
do_compile[network] = "${@bb.utils.contains('PACKAGECONFIG', 'go', '1', '0', d)}"
|
||||||
|
|
||||||
#systemd
|
#systemd
|
||||||
SYSTEMD_PACKAGES = "${PN}"
|
SYSTEMD_PACKAGES = "${PN}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user