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

Dmitry Safonov dsafonov at virtuozzo.com
Mon Mar 21 05:47:54 PDT 2016


On 03/21/2016 03:12 PM, Cyrill Gorcunov wrote:
> 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>
Reviewed-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---
>   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


-- 
Regards,
Dmitry Safonov



More information about the CRIU mailing list