Re: [PATCH] tools/vm: fix build failure

From: Naoya Horiguchi
Date: Thu May 07 2015 - 01:03:56 EST


On Thu, May 07, 2015 at 04:47:55AM +0000, Horiguchi Naoya(åå çä) wrote:
> libapikfs.a was renamed to libapi.a on commit 285a8f247b08 ("tools lib api:
> Rename libapikfs.a to libapi.a"), but tools/vm/Makefile still refers to the
> old file name, which breaks the build on tools/vm. This patch fixes it.
>
> Signed-off-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>

Ah, this was already posted in https://lkml.org/lkml/2015/3/12/964,
but not merged for some reason.
Could someone pick it, please?

Thanks,
Naoya Horiguchi

> ---
> tools/vm/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git v4.1-rc2.orig/tools/vm/Makefile v4.1-rc2/tools/vm/Makefile
> index ac884b65a072..93aadaf7ff63 100644
> --- v4.1-rc2.orig/tools/vm/Makefile
> +++ v4.1-rc2/tools/vm/Makefile
> @@ -3,7 +3,7 @@
> TARGETS=page-types slabinfo page_owner_sort
>
> LIB_DIR = ../lib/api
> -LIBS = $(LIB_DIR)/libapikfs.a
> +LIBS = $(LIB_DIR)/libapi.a
>
> CC = $(CROSS_COMPILE)gcc
> CFLAGS = -Wall -Wextra -I../lib/
> --
> 2.1.0
>