mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 21:18:23 +00:00
Config.mk: fix CATFILE macro to work when file list is empty (Linux)
Signed-off-by: chao.an <anchao@xiaomi.com> Change-Id: I0d21aff60cc4e84ec5a85259cc7fc05c550d0926
This commit is contained in:
parent
cb1ab6df02
commit
b38cda5eeb
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ define CATFILE
|
|||
endef
|
||||
else
|
||||
define CATFILE
|
||||
$(Q) cat $(2) > $1
|
||||
$(Q) if [ -z "$(strip $(2))" ]; then echo '' > $(1); else cat $(2) > $1; fi
|
||||
endef
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue