mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
cpupower Makefile change to help run the tool without 'make install'
The cpupower tool, when compiled against libcpupower.so fail's to run as the linker file path's are missing during compilation. So added changes in the Makefile to run cpupower tool, which helps us run the tool without doing a 'make install'. Signed-off-by: Sriram Raghunathan <sriram@marirs.net.in> Acked-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
26bc420b59
commit
5c1de006e8
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ $(OUTPUT)%.o: %.c
|
||||||
|
|
||||||
$(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ)
|
$(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ)
|
||||||
$(ECHO) " CC " $@
|
$(ECHO) " CC " $@
|
||||||
$(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -lrt -lpci -L$(OUTPUT) -o $@
|
$(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -Wl,-rpath=./ -lrt -lpci -L$(OUTPUT) -o $@
|
||||||
$(QUIET) $(STRIPCMD) $@
|
$(QUIET) $(STRIPCMD) $@
|
||||||
|
|
||||||
$(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC)
|
$(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC)
|
||||||
|
|
Loading…
Reference in a new issue