[CRIU] [PATCH 5/9] nmk: build.mk -- Fix ar rule for external libs

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 21 05:12:17 PDT 2016


From: Cyrill Gorcunov <gorcunov at gmail.com>

A typo.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 scripts/nmk/scripts/build.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/nmk/scripts/build.mk b/scripts/nmk/scripts/build.mk
index acb2440e518d..73adba918f07 100644
--- a/scripts/nmk/scripts/build.mk
+++ b/scripts/nmk/scripts/build.mk
@@ -131,9 +131,9 @@ define gen-custom-target-rule
                                 $(obj)/$(1).lib.a,                      \
                                 $(ARFLAGS) $($(1)-arflags-y),           \
                                 $(call objectify,$($(1)-lib-y))         \
-                                $(call objectify,$($(1)-lib-e))         \
                                 $(src-makefile),                        \
-                                $(call objectify,$($(1)-lib-y))))
+                                $(call objectify,$($(1)-lib-y)))        \
+                                $(call objectify,$($(1)-lib-e)))
                 all-y += $(obj)/$(1).lib.a
                 cleanup-y += $(obj)/$(1).lib.a
         endif
-- 
2.5.0



More information about the CRIU mailing list