Re: [PATCH 1/2] tools/: Convert to new topic libraries

Jiri Olsa
2013-12-09T10:23:34Z

On Thu, Dec 05, 2013 at 05:25:51PM +0100, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>

SNIP

> $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) install_plugins
>
> -LIBLK_SOURCES = $(wildcard $(LK_PATH)*.[ch])
> +LIBAPIKFS_SOURCES = $(wildcard $(LIB_PATH)fs/*.[ch])
>
> # if subdir is set, we've been called from above so target has been built
> # already
> -$(LIBLK): $(LIBLK_SOURCES)
> +$(LIBAPIKFS): $(LIBAPIKFS_SOURCES)
> ifeq ($(subdir),)
> - $(QUIET_SUBDIR0)$(LK_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) liblk.a
> + $(QUIET_SUBDIR0)$(LIB_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) libapikfs.a
> endif
>
> -$(LIBLK)-clean:
> +$(LIBAPIKFS)-clean:
> ifeq ($(subdir),)
> - $(call QUIET_CLEAN, liblk)
> - @$(MAKE) -C $(LK_DIR) O=$(OUTPUT) clean >/dev/null
> + $(call QUIET_CLEAN, LIBAPIKFS)

do we want 'LIBAPIKFS' in lowercase here?

jirka