diff --git a/tools/Config.mk b/tools/Config.mk index 0e2aac9cab..aa4dd29c36 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -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