mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
Config.mk: fix CATFILE macro to work when file list is empty (Linux)
This commit is contained in:
committed by
Abdelatif Guettouche
parent
b021375f2c
commit
36088e8d21
+1
-1
@@ -463,7 +463,7 @@ define CATFILE
|
|||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define CATFILE
|
define CATFILE
|
||||||
$(Q) cat $(2) > $1
|
$(Q) if [ -z "$(strip $(2))" ]; then echo '' > $(1); else cat $(2) > $1; fi
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user