aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/power
diff options
context:
space:
mode:
authorStanley Chan <schan@cloudflare.com>2023-11-27 15:20:48 -0600
committerShuah Khan <skhan@linuxfoundation.org>2024-01-21 16:57:51 -0700
commit0086ffec768bec6f5d61fc7e406af640eb912a24 (patch)
treececa31e29acc960d6471fd52898295d8f909d6ac /tools/power
parentLinux 6.8-rc1 (diff)
downloadwireguard-linux-0086ffec768bec6f5d61fc7e406af640eb912a24.tar.xz
wireguard-linux-0086ffec768bec6f5d61fc7e406af640eb912a24.zip
tools cpupower bench: Override CFLAGS assignments
Allow user to specify outside CFLAGS values as make argument Corrects an issue where CFLAGS is passed as a make argument for cpupower, but bench's makefile does not inherit and append to them. Signed-off-by: Stanley Chan <schan@cloudflare.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/cpupower/bench/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/bench/Makefile b/tools/power/cpupower/bench/Makefile
index d9d9923af85c..a4b902f9e1c4 100644
--- a/tools/power/cpupower/bench/Makefile
+++ b/tools/power/cpupower/bench/Makefile
@@ -15,7 +15,7 @@ LIBS = -L../ -L$(OUTPUT) -lm -lcpupower
OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o
endif
-CFLAGS += -D_GNU_SOURCE -I../lib -DDEFAULT_CONFIG_FILE=\"$(confdir)/cpufreq-bench.conf\"
+override CFLAGS += -D_GNU_SOURCE -I../lib -DDEFAULT_CONFIG_FILE=\"$(confdir)/cpufreq-bench.conf\"
$(OUTPUT)%.o : %.c
$(ECHO) " CC " $@