File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ DOCSRC := ../../../Documentation/tools/rtla/
32
32
33
33
FEATURE_TESTS := libtraceevent
34
34
FEATURE_TESTS += libtracefs
35
+ FEATURE_TESTS += libcpupower
35
36
FEATURE_DISPLAY := libtraceevent
36
37
FEATURE_DISPLAY += libtracefs
38
+ FEATURE_DISPLAY += libcpupower
37
39
38
40
ifeq ($(V ) ,1)
39
41
Q =
Original file line number Diff line number Diff line change 43
43
$(info libtracefs is missing. Please install libtracefs-dev/libtracefs-devel)
44
44
endif
45
45
46
+ $(call feature_check,libcpupower)
47
+ ifeq ($(feature-libcpupower), 1)
48
+ $(call detected,CONFIG_LIBCPUPOWER)
49
+ CFLAGS += -DHAVE_LIBCPUPOWER_SUPPORT
50
+ EXTLIBS += -lcpupower
51
+ else
52
+ $(info libcpupower is missing, building without --deepest-idle-state support.)
53
+ $(info Please install libcpupower-dev/kernel-tools-libs-devel)
54
+ endif
55
+
46
56
ifeq ($(STOP_ERROR),1)
47
57
$(error Please, check the errors above.)
48
58
endif
You can’t perform that action at this time.
0 commit comments