Browse Source

- use get-git-source.sh for astra-sm

master
vanhofen 6 years ago
parent
commit
fb88da9ef2
  1. 21
      make/system-tools-extra.mk

21
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)
# -----------------------------------------------------------------------------

Loading…
Cancel
Save