From fb88da9ef24f85027fbd8e53acb78adb094f96b6 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 19 May 2019 02:07:56 +0200 Subject: [PATCH] - use get-git-source.sh for astra-sm --- make/system-tools-extra.mk | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/make/system-tools-extra.mk b/make/system-tools-extra.mk index 136c8326..92008eaa 100644 --- a/make/system-tools-extra.mk +++ b/make/system-tools-extra.mk @@ -192,21 +192,24 @@ $(D)/python: $(ARCHIVE)/Python-$(PYTHON_VER).tgz | $(TARGET_DIR) # ----------------------------------------------------------------------------- -$(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 - git clone https://gitlab.com/crazycat69/astra-sm.git $(BUILD_TMP)/astra-sm; \ - $(CHDIR)/astra-sm; \ +$(ARCHIVE)/astra-sm.git: + get-git-source.sh https://gitlab.com/crazycat69/astra-sm.git $@ + +PHONY += $(ARCHIVE)/astra-sm.git + +# workaround unrecognized command line options +$(D)/astra-sm: TARGET_MARCH_CFLAGS="" +$(D)/astra-sm: $(ARCHIVE)/astra-sm.git $(D)/openssl | $(TARGET_DIR) + $(REMOVE)/astra-sm.git + $(CPDIR)/astra-sm.git + $(CHDIR)/astra-sm.git; \ autoreconf -fi; \ $(CONFIGURE) \ --prefix= \ --without-lua-compiler \ ; \ $(MAKE) install DESTDIR=$(TARGET_DIR) - $(REMOVE)/astra-sm + $(REMOVE)/astra-sm.git $(TOUCH) # -----------------------------------------------------------------------------