summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-09 11:51:34 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-09 11:51:34 +0200
commite8ba34e3b2c7a89f2ca9d3a1826946bb4c3dc81d (patch)
treeafb7d2df0c9b1de1d67e343d5247db91ff8bc630
parent2fcbd6315077d0a9d8c5d261e768282485d31ce6 (diff)
downloadvyos-1x-e8ba34e3b2c7a89f2ca9d3a1826946bb4c3dc81d.tar.gz
vyos-1x-e8ba34e3b2c7a89f2ca9d3a1826946bb4c3dc81d.zip
Makefile: T4515: change from negative logic to positive logic
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2956443bb..cc9bc136e 100644
--- a/Makefile
+++ b/Makefile
@@ -47,12 +47,9 @@ interface_definitions: $(config_xml_obj)
# could mask help strings or mandatory priority statements
find $(TMPL_DIR) -name node.def -type f -empty -exec false {} + || sh -c 'echo "There are empty node.def files! Check your interface definitions." && exit 1'
- @echo BUILD_ARCH IS $(BUILD_ARCH)
-ifneq ($(BUILD_ARCH),amd64)
- # There is no telegraf support - remove CLI definitions
+ifeq ($(BUILD_ARCH),arm64)
+ # There is currently no telegraf support in VyOS for ARM64, remove CLI definitions
rm -rf $(TMPL_DIR)/service/monitoring/telegraf
- # We also do not select the SALT minion package for arm64
- rm -rf $(TMPL_DIR)/service/salt-minion
endif
.PHONY: op_mode_definitions