Skip to content

Commit

Permalink
fs/littlefs/Make.defs: fix a littlefs unpack regression
Browse files Browse the repository at this point in the history
Note that $(CONFIG_FS_LITTLEFS_VERSION).tar.gz is expanded to
eg. "v2.5.1".tar.gz. The extra quotes break make's file existence
checks.

Fixes: #15148

The regression was caused by #14903
  • Loading branch information
yamt authored and xiaoxiang781216 committed Dec 16, 2024
1 parent 7036098 commit 0975436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/littlefs/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ifeq ($(CONFIG_FS_LITTLEFS_MULTI_VERSION),y)
CFLAGS += -DLFS_MULTIVERSION
endif

LITTLEFS_TARBALL = $(CONFIG_FS_LITTLEFS_VERSION).tar.gz
LITTLEFS_TARBALL = $(shell echo $(CONFIG_FS_LITTLEFS_VERSION).tar.gz)

$(LITTLEFS_TARBALL):
$(call DOWNLOAD,https://github.com/ARMmbed/littlefs/archive,$(LITTLEFS_TARBALL),littlefs/$(LITTLEFS_TARBALL))
Expand Down

0 comments on commit 0975436

Please sign in to comment.