Re: [PATCH 03/15] perf: Build libtraceevent.a

From: Frederic Weisbecker
Date: Mon Apr 09 2012 - 13:10:51 EST


2012/4/6 Borislav Petkov <bp@xxxxxxxxx>:
> Right, what I meant was to add the $(LIBTRACEEVENT): target above to the
> toplevel Makefile so that when you're in the kernel source tree, you do
>
> $ make tools/perf
>
> it has a target $(LIBTRACEEVENT) dependent on it in the toplevel
> Makefile instead of perf's Makefile to avoid duplication. Then, when
> perf is rebuilt, it simply links with this lib. IOW, not have the "make
> -C" call in perf's Makefile but in the toplevel Makefile because other
> tools will want to use libtraceevent.a too and link against it.
>
> Oh well, the toplevel Makefile patches aren't upstream either so we're
> wasting cycles here, I'll fix that up when the times comes.

Yeah let's sort those details out once we have that library merged ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/