Re: [PATCH 06/32] perf kbuild: store in config-detected missing variables (libdir, ...)

From: David Ahern
Date: Tue Jun 03 2014 - 21:52:16 EST


ditto. you need a blurb here as to what is happening in the patch below.

On 6/3/14, 4:05 PM, Alexis Berlemont wrote:
---
tools/perf/Makefile.kbuild | 5 ++++-
tools/perf/config/Makefile | 3 +++
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tools/perf/Makefile.kbuild b/tools/perf/Makefile.kbuild
index b2d0d08..e82615f 100644
--- a/tools/perf/Makefile.kbuild
+++ b/tools/perf/Makefile.kbuild
@@ -212,8 +212,11 @@ export prefix_SQ
export PARSER_DEBUG_BISON
export PARSER_DEBUG_FLEX
export ETC_PERFCONFIG_SQ
+export libdir_SQ
export PYTHON_EMBED_CCOPTS
export PERL_EMBED_CCOPTS
+export GTK_CFLAGS
+
endif

# let sources know it's kbuild
@@ -262,7 +265,7 @@ $(obj-perf)/built-in.o: $(obj-perf)/common-cmds.h FORCE
LIBS = -Wl,--whole-archive $^ -Wl,--no-whole-archive -Wl,--start-group $(EXTLIBS) -Wl,--end-group

tools/perf/perf: $(obj-perf)/built-in.o $(LIBS_A)
- $(QUIET_LINK)$(CC) $(LDFLAGS) -o $@ $(LIBS)
+ $(QUIET_LINK)$(CC) $(LDFLAGS) -o $@ $(LIBS) $(GTK_LIBS)

unrelated changes should be in separate patches.

David

--
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/