All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpupower Makefile change
@ 2014-12-22 16:47 sriram
  2015-01-30  0:13 ` Rafael J. Wysocki
  0 siblings, 1 reply; 5+ messages in thread
From: sriram @ 2014-12-22 16:47 UTC (permalink / raw)
  To: linux-pm, trenn

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>
---
 tools/power/cpupower/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/cpupower/Makefile
b/tools/power/cpupower/Makefile
index 2e2ba2e..3ed7c04 100644
--- a/tools/power/cpupower/Makefile
+++ b/tools/power/cpupower/Makefile
@@ -209,7 +209,7 @@ $(OUTPUT)%.o: %.c
 
 $(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ)
 	$(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) $@
 
 $(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC)
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] cpupower Makefile change
  2014-12-22 16:47 [PATCH] cpupower Makefile change sriram
@ 2015-01-30  0:13 ` Rafael J. Wysocki
  2015-01-30  0:27   ` Thomas Renninger
  0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2015-01-30  0:13 UTC (permalink / raw)
  To: sriram; +Cc: linux-pm, trenn

On Monday, December 22, 2014 10:17:37 PM sriram@marirs.net.in wrote:
> 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>

That requires an ACK from Thomas for me to apply it.

> ---
>  tools/power/cpupower/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/power/cpupower/Makefile
> b/tools/power/cpupower/Makefile
> index 2e2ba2e..3ed7c04 100644
> --- a/tools/power/cpupower/Makefile
> +++ b/tools/power/cpupower/Makefile
> @@ -209,7 +209,7 @@ $(OUTPUT)%.o: %.c
>  
>  $(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ)
>  	$(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) $@
>  
>  $(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC)
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] cpupower Makefile change
  2015-01-30  0:13 ` Rafael J. Wysocki
@ 2015-01-30  0:27   ` Thomas Renninger
  2015-01-30 23:08     ` Rafael J. Wysocki
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Renninger @ 2015-01-30  0:27 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: sriram, linux-pm

On Friday, January 30, 2015 01:13:09 AM Rafael J. Wysocki wrote:
> On Monday, December 22, 2014 10:17:37 PM sriram@marirs.net.in wrote:
> > 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>
> 
> That requires an ACK from Thomas for me to apply it.

Makes sense.

Acked-by: Thomas Renninger <trenn@suse.de>

Thanks,

         Thomas

> 
> > ---
> > 
> >  tools/power/cpupower/Makefile | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/tools/power/cpupower/Makefile
> > b/tools/power/cpupower/Makefile
> > index 2e2ba2e..3ed7c04 100644
> > --- a/tools/power/cpupower/Makefile
> > +++ b/tools/power/cpupower/Makefile
> > @@ -209,7 +209,7 @@ $(OUTPUT)%.o: %.c
> > 
> >  $(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ)
> >  
> >  	$(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) $@
> >  
> >  $(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] cpupower Makefile change
  2015-01-30  0:27   ` Thomas Renninger
@ 2015-01-30 23:08     ` Rafael J. Wysocki
  2015-01-31 15:55       ` sriram
  0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2015-01-30 23:08 UTC (permalink / raw)
  To: Thomas Renninger; +Cc: sriram, linux-pm

On Friday, January 30, 2015 01:27:23 AM Thomas Renninger wrote:
> On Friday, January 30, 2015 01:13:09 AM Rafael J. Wysocki wrote:
> > On Monday, December 22, 2014 10:17:37 PM sriram@marirs.net.in wrote:
> > > 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>
> > 
> > That requires an ACK from Thomas for me to apply it.
> 
> Makes sense.
> 
> Acked-by: Thomas Renninger <trenn@suse.de>

OK, queued up for 3.20, thanks!


-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] cpupower Makefile change
  2015-01-30 23:08     ` Rafael J. Wysocki
@ 2015-01-31 15:55       ` sriram
  0 siblings, 0 replies; 5+ messages in thread
From: sriram @ 2015-01-31 15:55 UTC (permalink / raw)
  To: Rafael J. Wysocki, Thomas Renninger; +Cc: linux-pm

Thanks. 

On Sat, Jan 31, 2015, at 04:38 AM, Rafael J. Wysocki wrote:
> On Friday, January 30, 2015 01:27:23 AM Thomas Renninger wrote:
> > On Friday, January 30, 2015 01:13:09 AM Rafael J. Wysocki wrote:
> > > On Monday, December 22, 2014 10:17:37 PM sriram@marirs.net.in wrote:
> > > > 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>
> > > 
> > > That requires an ACK from Thomas for me to apply it.
> > 
> > Makes sense.
> > 
> > Acked-by: Thomas Renninger <trenn@suse.de>
> 
> OK, queued up for 3.20, thanks!
> 
> 
> -- 
> I speak only for myself.
> Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-31 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-22 16:47 [PATCH] cpupower Makefile change sriram
2015-01-30  0:13 ` Rafael J. Wysocki
2015-01-30  0:27   ` Thomas Renninger
2015-01-30 23:08     ` Rafael J. Wysocki
2015-01-31 15:55       ` sriram

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.