mirror of
git://git.openembedded.org/meta-openembedded
synced 2025-12-31 13:38:06 +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)}"
|
||||
|
||||
# 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_PACKAGES = "${PN}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user