Remove the unnecessary touch and clean from Makefile

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-08-11 00:57:42 +08:00 committed by Abdelatif Guettouche
parent 7f48576218
commit e6c5ff9208
9 changed files with 5 additions and 23 deletions

View File

@ -37,7 +37,7 @@ include $(APPDIR)/Make.defs
# LittleVGL demo built-in application info
CONFIG_LV_EXAMPLES_URL ?= https://github.com/lvgl/lv_examples/archive
CONFIG_LV_EXAMPLES_URL ?= https://github.com/lvgl/lv_examples/archive
LVGL_EXAMPLES_VERSION ?= 7.0.2
LVGL_EXAMPLES_TARBALL = v$(LVGL_EXAMPLES_VERSION).zip
@ -101,9 +101,6 @@ $(LVGL_EXAMPLES_UNPACKNAME): $(LVGL_EXAMPLES_TARBALL)
context:: $(LVGL_EXAMPLES_UNPACKNAME)
clean::
$(call DELDIR, build)
distclean::
$(call DELDIR, $(LVGL_EXAMPLES_UNPACKNAME))
$(call DELFILE, $(LVGL_EXAMPLES_TARBALL))

View File

@ -83,7 +83,6 @@ $(INIH_TARBALL):
@echo "Downloading: $@"
$(Q) $(WGET) -O $@ $(INIH_URL)/$@
${Q} $(NXTOOLSDIR)/check-hash.sh sha256 $(INIH_SRC_SHA256) $@
$(Q) touch $@
$(INIH_SOURCES): $(INIH_TARBALL)
@echo "Unpacking $< -> $@"

View File

@ -78,9 +78,6 @@ $(LVGL_UNPACKNAME): $(LVGL_TARBALL)
context:: $(LVGL_UNPACKNAME)
clean::
$(call DELDIR, build)
distclean::
$(call DELDIR, $(LVGL_UNPACKNAME))
$(call DELFILE, $(LVGL_TARBALL))

View File

@ -1,2 +1,2 @@
/cJSON-*
/cJSON*
/v*.tar.gz

View File

@ -69,7 +69,7 @@ $(CJSON_TARBALL):
$(CJSON_UNPACKNAME): $(CJSON_TARBALL)
@echo "Unpacking: $(CJSON_TARBALL) -> $(CJSON_UNPACKNAME)"
$(Q) $(UNPACK) $(CJSON_TARBALL)
@touch $(CJSON_UNPACKNAME)
$(Q) touch $(CJSON_UNPACKNAME)
$(CJSON_SRCDIR)$(DELIM)cJSON.h: $(CJSON_UNPACKNAME)
@ -83,12 +83,8 @@ $(APPS_INCDIR)$(DELIM)cJSON_Utils.h: $(CJSON_SRCDIR)$(DELIM)cJSON_Utils.h
context:: $(APPS_INCDIR)$(DELIM)cJSON.h $(APPS_INCDIR)$(DELIM)cJSON_Utils.h
clean::
$(call DELDIR, build)
distclean::
$(call DELDIR, $(CJSON_UNPACKNAME))
$(call DELFILE, .downloaded)
$(call DELFILE, $(CJSON_TARBALL))
$(call DELFILE, $(APPDIR)/include/netutils/cJSON.h)
$(call DELFILE, $(APPDIR)/include/netutils/cJSON_Utils.h)

View File

@ -178,7 +178,6 @@ $(EMBEDLOG_TARBALL):
@echo "Downloading: $@"
$(Q) $(WGET) -O $@ $(EMBEDLOG_URL)/$@
${Q} $(NXTOOLSDIR)/check-hash.sh sha256 $(EMBEDLOG_SRC_SHA256) $@
$(Q) touch $@
$(EMBEDLOG_SOURCES): $(EMBEDLOG_TARBALL)
@echo "Unpacking $< -> $@"
@ -189,7 +188,6 @@ $(EMBEDLOG_SOURCES): $(EMBEDLOG_TARBALL)
embedlog: $(EMBEDLOG_SOURCES)
$(call DELDIR, $@)
$(Q) $(CP) $< $@
$(Q) touch $@
create_includes:
$(Q) $(CP) $(EMBEDLOG_SOURCES)/include/embedlog.h $(APPDIR)/include/system

View File

@ -110,7 +110,6 @@ $(PSMQ_TARBALL):
@echo "Downloading: $@"
$(Q) $(WGET) -O $@ $(PSMQ_URL)/$@
$(Q) $(NXTOOLSDIR)/check-hash.sh sha256 $(PSMQ_SRC_SHA256) $@
$(Q) touch $@
$(PSMQ_SOURCES): $(PSMQ_TARBALL)
@echo "Unpacking $< -> $@"

View File

@ -1,2 +1,2 @@
/Unity-*
/Unity*
/v*.tar.gz

View File

@ -68,7 +68,7 @@ $(UNITY_TARBALL):
$(UNITY_UNPACKNAME): $(UNITY_TARBALL)
@echo "Unpacking: $(UNITY_TARBALL) -> $(UNITY_UNPACKNAME)"
$(Q) $(UNPACK) $(UNITY_TARBALL)
@touch $(UNITY_UNPACKNAME)
$(Q) touch $(UNITY_UNPACKNAME)
$(UNITY_SRCDIR)$(DELIM)unity.h: $(UNITY_UNPACKNAME)
@ -82,12 +82,8 @@ $(APPS_INCDIR)$(DELIM)unity_internals.h: $(UNITY_SRCDIR)$(DELIM)unity_internals.
context:: $(APPS_INCDIR)$(DELIM)unity.h $(APPS_INCDIR)$(DELIM)unity_internals.h
clean::
$(call DELDIR, build)
distclean::
$(call DELDIR, $(UNITY_UNPACKNAME))
$(call DELFILE, .downloaded)
$(call DELFILE, $(UNITY_TARBALL))
$(call DELFILE, $(APPDIR)/include/testing/unity.h)
$(call DELFILE, $(APPDIR)/include/testing/unity_internals.h)