mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
tools/Config.mk: CATFILE clear the existing file
To simplify the caller usage
This commit is contained in:
+3
-3
@@ -296,17 +296,17 @@ define COPYFILE
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# CATFILE - Cat and append a list of files
|
# CATFILE - Cat a list of files
|
||||||
#
|
#
|
||||||
# USAGE: $(call CATFILE,dest,src1,src2,src3,...)
|
# USAGE: $(call CATFILE,dest,src1,src2,src3,...)
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define CATFILE
|
define CATFILE
|
||||||
$(Q) type $(2) >> $1
|
$(Q) type $(2) > $1
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define CATFILE
|
define CATFILE
|
||||||
$(Q) cat $(2) >> $1
|
$(Q) cat $(2) > $1
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user