Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools cpupower debug: Allow to use outside build flags

Adding CFLAGS and LDFLAGS to be used during the build.

Cc: Thomas Renninger <trenn@suse.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>

authored by

Jiri Olsa and committed by
Shuah Khan
4bf3bd0f 9de9aa45

+2 -2
+2 -2
tools/power/cpupower/debug/x86_64/Makefile
··· 13 13 default: all 14 14 15 15 $(OUTPUT)centrino-decode: ../i386/centrino-decode.c 16 - $(CC) $(CFLAGS) -o $@ $< 16 + $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $< 17 17 18 18 $(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c 19 - $(CC) $(CFLAGS) -o $@ $< 19 + $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $< 20 20 21 21 all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode 22 22