mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-24 02:52:55 +00:00

Earlier, the patches were kept in the respective branches of a separate project, https://abf.io/soft/kernel-patches-and-configs. And before that - in the custom tarballs. Now all the patches are kept here along with the spec file and are applied the default way rather than by separate scripts. This should make the maintenance of the patches as well as the experiments with the new ones a lot easier. The previous scheme seemed to offer a bit more flexibility (different patch sets for different cases) at the cost of maintenance. But as it turned out, that flexibility was not worth it and was rarely used, at most.
22 lines
782 B
Diff
22 lines
782 B
Diff
diff --git a/tools/perf/util/setup.py b/tools/perf/util/setup.py
|
|
index c868098..61c98a9 100644
|
|
--- a/tools/perf/util/setup.py
|
|
+++ b/tools/perf/util/setup.py
|
|
@@ -22,6 +22,9 @@ cflags = getenv('CFLAGS', '').split()
|
|
# switch off several checks (need to be at the end of cflags list)
|
|
cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter' ]
|
|
|
|
+libs = getenv('LIBS', '').split()
|
|
+libs += ['dl']
|
|
+
|
|
src_perf = getenv('srctree') + '/tools/perf'
|
|
build_lib = getenv('PYTHON_EXTBUILD_LIB')
|
|
build_tmp = getenv('PYTHON_EXTBUILD_TMP')
|
|
@@ -39,6 +42,7 @@ perf = Extension('perf',
|
|
include_dirs = ['util/include'],
|
|
extra_compile_args = cflags,
|
|
extra_objects = [libtraceevent, libapikfs],
|
|
+ libraries = libs,
|
|
)
|
|
|
|
setup(name='perf',
|