Skip to content

Commit

Permalink
testing/unity: adjust unity download pack to 'Unity'
Browse files Browse the repository at this point in the history
Signed-off-by: haopengxiang <[email protected]>
  • Loading branch information
haopengxiang committed Aug 9, 2023
1 parent 0c60164 commit d66651f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/unity/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit d66651f

Please sign in to comment.