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

Pavel Emelyanov xemul at virtuozzo.com
Wed Mar 23 04:45:13 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>
> ---
>  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)))

You just reshuffle what you've done in patch #4. Worth merging them?

>                  all-y += $(obj)/$(1).lib.a
>                  cleanup-y += $(obj)/$(1).lib.a
>          endif
> 



More information about the CRIU mailing list