[CRIU] [PATCH 6/7] build/nmk: fix build-as function

Dmitry Safonov dsafonov at virtuozzo.com
Fri Jul 15 05:17:58 PDT 2016


It should be declared with '=' rather than with simple ':='.
And from here goes that much dollars.

Cc: Cyrill Gorcunov <gorcunov at openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 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 1ba65292381b..4c496f72ae9c 100644
--- a/scripts/nmk/scripts/include.mk
+++ b/scripts/nmk/scripts/include.mk
@@ -47,7 +47,7 @@ build := -r -R -f $(__nmk_dir)main.mk makefile=Makefile obj
 export build
 
 # With specified Makefile
-build-as := -r -R -f $(__nmk_dir)main.mk makefile=$$(1) obj=$$(2)
+build-as = -r -R -f $(__nmk_dir)main.mk makefile=$(1) obj=$(2)
 export build-as
 
 #
-- 
2.9.0



More information about the CRIU mailing list