From 688992b901e6ddd7a25a710a115d1db50e9f66da Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 3 May 2018 22:35:07 +0200 Subject: [PATCH] - system-tools-extra: add target to build astra-sm --- make/system-tools-extra.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/make/system-tools-extra.mk b/make/system-tools-extra.mk index 66123a21..c42c9d79 100644 --- a/make/system-tools-extra.mk +++ b/make/system-tools-extra.mk @@ -163,3 +163,21 @@ $(D)/python: $(ARCHIVE)/Python-$(PYTHON_VER).tgz | $(TARGET_DIR) chmod +w $(TARGET_LIB_DIR)/libpython* install -m755 $(BUILD_TMP)/Python-$(PYTHON_VER)/_install/bin/python $(TARGET_DIR)/bin/ $(REMOVE)/Python-$(PYTHON_VER) + +$(D)/astra-sm: $(D)/openssl | $(TARGET_DIR) + # workaround unrecognized command line options + make astra-sm-no-march-cflags TARGET_MARCH_CFLAGS="" + +$(D)/astra-sm-no-march-cflags: + $(REMOVE)/astra-sm + cd $(BUILD_TMP); \ + git clone https://gitlab.com/crazycat69/astra-sm.git astra-sm; \ + cd astra-sm; \ + autoreconf -fi; \ + $(CONFIGURE) \ + --prefix= \ + --without-lua-compiler \ + ; \ + $(MAKE) install DESTDIR=$(TARGET_DIR) + $(REMOVE)/astra-sm + touch $@