boards/romfs: fix romfs folder size increase when append-compile rcS

Change-Id: I29b2a745d61147da6dfa9dfc08ddc81aabecf507
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2021-03-16 14:47:14 +08:00 committed by Xiang Xiao
parent 65fa11634b
commit f6eb0639d3
1 changed files with 1 additions and 0 deletions

View File

@ -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 $<)"