[CRIU] [PATCH 4/9] nmk: return --no-print-directory

Kir Kolyshkin kir at openvz.org
Wed Feb 22 15:15:44 PST 2017


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 <dsafonov at virtuozzo.com>
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 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 2d04d88..711b9da 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.
-- 
2.9.3



More information about the CRIU mailing list