From e1385b1074ae538403d0ec68e86e2aba176cea43 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 23 Mar 2020 17:08:14 +0800 Subject: [PATCH] tools/Config.mk: CATFILE clear the existing file To simplify the caller usage --- tools/Config.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/Config.mk b/tools/Config.mk index 32ba80dd8d0..04cd1519ae1 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -296,17 +296,17 @@ define COPYFILE endef endif -# CATFILE - Cat and append a list of files +# CATFILE - Cat a list of files # # USAGE: $(call CATFILE,dest,src1,src2,src3,...) ifeq ($(CONFIG_WINDOWS_NATIVE),y) define CATFILE - $(Q) type $(2) >> $1 + $(Q) type $(2) > $1 endef else define CATFILE - $(Q) cat $(2) >> $1 + $(Q) cat $(2) > $1 endef endif