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) $(ARCHIVE)/astra-sm.git:
# workaround unrecognized command line options get-git-source.sh https://gitlab.com/crazycat69/astra-sm.git $@
make astra-sm-no-march-cflags TARGET_MARCH_CFLAGS=""
PHONY += $(ARCHIVE)/astra-sm.git
$(D)/astra-sm-no-march-cflags:
$(REMOVE)/astra-sm # workaround unrecognized command line options
git clone https://gitlab.com/crazycat69/astra-sm.git $(BUILD_TMP)/astra-sm; \ $(D)/astra-sm: TARGET_MARCH_CFLAGS=""
$(CHDIR)/astra-sm; \ $(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; \ autoreconf -fi; \
$(CONFIGURE) \ $(CONFIGURE) \
--prefix= \ --prefix= \
--without-lua-compiler \ --without-lua-compiler \
; \ ; \
$(MAKE) install DESTDIR=$(TARGET_DIR) $(MAKE) install DESTDIR=$(TARGET_DIR)
$(REMOVE)/astra-sm $(REMOVE)/astra-sm.git
$(TOUCH) $(TOUCH)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

Loading…
Cancel
Save