From f8c63cbac28231fa2f29d0093ea0ce35868645e7 Mon Sep 17 00:00:00 2001 From: Yohann Roussel Date: Tue, 6 Oct 2015 15:28:38 +0200 Subject: [PATCH] Ensure dump-words-to-file creates the target Even if word list is empty. Not creating the file was causing print of error messages that were not preventing compilation to continue when compiling Java module with no source. Change-Id: I095b85f85ed6fcef5882afa39d4af51b78124c7c --- core/definitions.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/definitions.mk b/core/definitions.mk index 09eb6b6f1..9d6311ef2 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1710,6 +1710,7 @@ endef # dump-words-to-file, , define dump-words-to-file @rm -f $(2) + @touch $(2) @$(call emit-line,$(wordlist 1,200,$(1)),$(2)) @$(call emit-line,$(wordlist 201,400,$(1)),$(2)) @$(call emit-line,$(wordlist 401,600,$(1)),$(2))