|
@@ -185,7 +185,7 @@ strip-libs = $(filter-out -l%,$(1))
|
|
PYTHON_EXT_SRCS := $(shell grep -v ^\# util/python-ext-sources)
|
|
PYTHON_EXT_SRCS := $(shell grep -v ^\# util/python-ext-sources)
|
|
PYTHON_EXT_DEPS := util/python-ext-sources util/setup.py
|
|
PYTHON_EXT_DEPS := util/python-ext-sources util/setup.py
|
|
|
|
|
|
-$(OUTPUT)python/perf.so: $(PYRF_OBJS) $(PYTHON_EXT_SRCS) $(PYTHON_EXT_DEPS)
|
|
|
|
|
|
+$(OUTPUT)python/perf.so: $(PYTHON_EXT_SRCS) $(PYTHON_EXT_DEPS)
|
|
$(QUIET_GEN)CFLAGS='$(BASIC_CFLAGS)' $(PYTHON_WORD) util/setup.py \
|
|
$(QUIET_GEN)CFLAGS='$(BASIC_CFLAGS)' $(PYTHON_WORD) util/setup.py \
|
|
--quiet build_ext; \
|
|
--quiet build_ext; \
|
|
mkdir -p $(OUTPUT)python && \
|
|
mkdir -p $(OUTPUT)python && \
|
|
@@ -446,20 +446,6 @@ BUILTIN_OBJS += $(OUTPUT)builtin-inject.o
|
|
|
|
|
|
PERFLIBS = $(LIB_FILE) $(LIBTRACEEVENT)
|
|
PERFLIBS = $(LIB_FILE) $(LIBTRACEEVENT)
|
|
|
|
|
|
-# Files needed for the python binding, perf.so
|
|
|
|
-# pyrf is just an internal name needed for all those wrappers.
|
|
|
|
-# This has to be in sync with what is in the 'sources' variable in
|
|
|
|
-# tools/perf/util/setup.py
|
|
|
|
-
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/cpumap.o
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/ctype.o
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/evlist.o
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/evsel.o
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/python.o
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/thread_map.o
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/util.o
|
|
|
|
-PYRF_OBJS += $(OUTPUT)util/xyarray.o
|
|
|
|
-
|
|
|
|
#
|
|
#
|
|
# Platform specific tweaks
|
|
# Platform specific tweaks
|
|
#
|
|
#
|