From e8ba34e3b2c7a89f2ca9d3a1826946bb4c3dc81d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jul 2022 11:51:34 +0200 Subject: Makefile: T4515: change from negative logic to positive logic --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3