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>
This commit is contained in:
parent
9de9aa45e9
commit
4bf3bd0f15
|
@ -13,10 +13,10 @@ INSTALL = /usr/bin/install
|
||||||
default: all
|
default: all
|
||||||
|
|
||||||
$(OUTPUT)centrino-decode: ../i386/centrino-decode.c
|
$(OUTPUT)centrino-decode: ../i386/centrino-decode.c
|
||||||
$(CC) $(CFLAGS) -o $@ $<
|
$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
|
||||||
|
|
||||||
$(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c
|
$(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c
|
||||||
$(CC) $(CFLAGS) -o $@ $<
|
$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
|
||||||
|
|
||||||
all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode
|
all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue