Update Makefile

This commit is contained in:
R3ABM Artem 2025-03-23 13:59:59 +02:00
parent a230ca56be
commit 3a1af0bce0

View file

@ -15,6 +15,7 @@ else
endif
ifeq ($(OS), Linux)
BUILD := $(VERSION)-$(shell lsb_release -i -s | tr '[:upper:]' '[:lower:]')$(shell lsb_release -r -s)
ARCHITECTURE ?= $(shell $(CC) -dumpmachine | grep -o -E '^[^-]+')
ifeq ($(ARCHITECTURE), aarch64)
FLAGS += -march=armv8-a
@ -72,7 +73,7 @@ clean:
rm -f *.d $(TOOLKIT)/*/*.d
debian-package:
./UpdateLog.sh
./UpdateLog.sh tellusagent "Artem Prilutskiy <cyanide.burnout@gmail.com>" $(BUILD) > debian/changelog
ifdef ARCH
dpkg-buildpackage -b -a$(ARCH) -tc
else