From 72a2c766f19fe084347c2f1045ada044f37a35bc 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 aio-grab --- make/system-tools.mk | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/make/system-tools.mk b/make/system-tools.mk index 7383cdd5..cdf33de7 100644 --- a/make/system-tools.mk +++ b/make/system-tools.mk @@ -1209,10 +1209,15 @@ $(D)/ofgwrite: $(SOURCE_DIR)/$(NI_OFGWRITE) | $(TARGET_DIR) # ----------------------------------------------------------------------------- -$(D)/aio-grab: $(D)/zlib $(D)/libpng $(D)/libjpeg | $(TARGET_DIR) - $(REMOVE)/aio-grab - git clone git://github.com/oe-alliance/aio-grab.git $(BUILD_TMP)/aio-grab; \ - $(CHDIR)/aio-grab; \ +$(ARCHIVE)/aio-grab.git: + get-git-source.sh git://github.com/oe-alliance/aio-grab.git $@ + +PHONY += $(ARCHIVE)/aio-grab.git + +$(D)/aio-grab: $(ARCHIVE)/aio-grab.git $(D)/zlib $(D)/libpng $(D)/libjpeg | $(TARGET_DIR) + $(REMOVE)/aio-grab.git + $(CPDIR)/aio-grab.git + $(CHDIR)/aio-grab.git; \ aclocal --force -I m4; \ libtoolize --copy --ltdl --force; \ autoconf --force; \ @@ -1224,7 +1229,7 @@ $(D)/aio-grab: $(D)/zlib $(D)/libpng $(D)/libjpeg | $(TARGET_DIR) ; \ $(MAKE) all; \ $(MAKE) install DESTDIR=$(TARGET_DIR) - $(REMOVE)/aio-grab + $(REMOVE)/aio-grab.git $(TOUCH) # -----------------------------------------------------------------------------