testing/unity: adjust unity download pack to 'Unity'
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
This commit is contained in:
parent
bdedf648c5
commit
aa38c44b3b
@ -32,7 +32,7 @@ UNITY_VERSION = $(patsubst "%",%,$(strip $(CONFIG_TESTING_UNITY_VERSION)))
|
||||
|
||||
UNITY_TARBALL = v$(UNITY_VERSION).tar.gz
|
||||
|
||||
UNITY_UNPACKNAME = Unity-$(UNITY_VERSION)
|
||||
UNITY_UNPACKNAME = Unity
|
||||
UNPACK ?= tar -zxf
|
||||
|
||||
UNITY_UNPACKDIR = $(WD)/$(UNITY_UNPACKNAME)
|
||||
@ -55,6 +55,7 @@ $(UNITY_TARBALL):
|
||||
$(UNITY_UNPACKNAME): $(UNITY_TARBALL)
|
||||
@echo "Unpacking: $(UNITY_TARBALL) -> $(UNITY_UNPACKNAME)"
|
||||
$(Q) $(UNPACK) $(UNITY_TARBALL)
|
||||
$(Q) mv Unity-$(UNITY_VERSION) $(UNITY_UNPACKNAME)
|
||||
$(Q) touch $(UNITY_UNPACKNAME)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user