Update Makefile
This commit is contained in:
parent
a230ca56be
commit
3a1af0bce0
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue