mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Don't download tarballs if a local git repo found
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
35c31e35c1
commit
2e2630e838
25 changed files with 91 additions and 15 deletions
|
|
@ -103,10 +103,13 @@ $(LIBTOMMATH_UNPACKNAME): $(LIBTOMMATH_ZIP)
|
|||
$(Q) mv libtommath-$(LIBTOMMATH_VERSION) $(LIBTOMMATH_UNPACKNAME)
|
||||
$(Q) touch $(LIBTOMMATH_UNPACKNAME)
|
||||
|
||||
# Download and unpack tarball if no git repo found
|
||||
ifeq ($(wildcard $(LIBTOMMATH_UNPACKNAME)/.git),)
|
||||
context:: $(LIBTOMMATH_UNPACKNAME)
|
||||
|
||||
distclean::
|
||||
$(call DELDIR, $(LIBTOMMATH_UNPACKNAME))
|
||||
$(call DELFILE, $(LIBTOMMATH_ZIP))
|
||||
endif
|
||||
|
||||
include $(APPDIR)/Application.mk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue