lkml.org 
[lkml]   [2012]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 03/15] perf: Build libtraceevent.a
From
2012/4/6 Borislav Petkov <bp@alien8.de>:
> 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 ;)


\
 
 \ /
  Last update: 2012-04-09 19:13    [from the cache]
©2003-2011 Jasper Spaans