From d5df3bf2acd65946149c838917e6f1cce2bd4183 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 22 Feb 2017 15:15:44 -0800 Subject: [PATCH] nmk: return --no-print-directory A year ago this flag was removed, as parts of criu were build in sub-directories (i.e. by using make -C SUBDIR), and therefore paths printed by make were relevant to a SUBDIR rather than top source dir, which prevented tools like vim from jumping to a correct source file with with error (for more details, see commit XXXXXX "nmk: remove no-print-directory from MAKEFLAGS"). Now, as we have everything (except Documentation and test, which is rather minor) built from top source directory, we can finally add the flag back and enjoy cleaner output. Reviewed-by: Dmitry Safonov Signed-off-by: Kir Kolyshkin Signed-off-by: Andrei Vagin --- scripts/nmk/scripts/include.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nmk/scripts/include.mk b/scripts/nmk/scripts/include.mk index 2d04d88ad..711b9da7f 100644 --- a/scripts/nmk/scripts/include.mk +++ b/scripts/nmk/scripts/include.mk @@ -30,7 +30,7 @@ endif # Do not use make's built-in rules and variables # (this increases performance and avoids hard-to-debug behaviour). -MAKEFLAGS += -rR +MAKEFLAGS += -rR --no-print-directory export MAKEFLAGS # Avoid funny character set dependencies.