From 63a9e1ff899d3aa8f027980d9aff709697964f48 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 16 Dec 2024 14:18:58 +0900 Subject: [PATCH] fs/littlefs/Make.defs: fix a littlefs unpack regression 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: https://github.com/apache/nuttx/issues/15148 The regression was caused by https://github.com/apache/nuttx/pull/14903 --- fs/littlefs/Make.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/littlefs/Make.defs b/fs/littlefs/Make.defs index 57109d5755..b23c30cbff 100644 --- a/fs/littlefs/Make.defs +++ b/fs/littlefs/Make.defs @@ -54,7 +54,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))