You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/07/02 16:14:11 UTC
[incubator-nuttx] branch master updated: boards/romfs: fix romfs
folder size increase when append-compile rcS
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new f6eb063 boards/romfs: fix romfs folder size increase when append-compile rcS
f6eb063 is described below
commit f6eb0639d31c293ff97db095544b77262d4311e8
Author: ligd <li...@xiaomi.com>
AuthorDate: Tue Mar 16 14:47:14 2021 +0800
boards/romfs: fix romfs folder size increase when append-compile rcS
Change-Id: I29b2a745d61147da6dfa9dfc08ddc81aabecf507
Signed-off-by: ligd <li...@xiaomi.com>
---
boards/Board.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/boards/Board.mk b/boards/Board.mk
index aab3957..38276fa 100644
--- a/boards/Board.mk
+++ b/boards/Board.mk
@@ -49,6 +49,7 @@ $(RCOBJS): $(ETCDIR)$(DELIM)%: %
$(ETCSRC): $(RCRAWS) $(RCOBJS)
$(foreach raw, $(RCRAWS), \
+ $(shell rm -rf $(ETCDIR)$(DELIM)$(raw)) \
$(shell mkdir -p $(dir $(ETCDIR)$(DELIM)$(raw))) \
$(shell cp -rfp $(raw) $(ETCDIR)$(DELIM)$(raw)))
$(Q) genromfs -f romfs.img -d $(ETCDIR)$(DELIM)$(CONFIG_NSH_ROMFSMOUNTPT) -V "$(basename $<)"