Skip to content

Commit

Permalink
tools cpupower debug: Allow to use outside build flags
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Olsa authored and Shuah Khan committed Nov 6, 2018
1 parent 9de9aa4 commit 4bf3bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/power/cpupower/debug/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ INSTALL = /usr/bin/install
default: all

$(OUTPUT)centrino-decode: ../i386/centrino-decode.c
$(CC) $(CFLAGS) -o $@ $<
$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<

$(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c
$(CC) $(CFLAGS) -o $@ $<
$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<

all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode

Expand Down

0 comments on commit 4bf3bd0

Please sign in to comment.