linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v4l-utils] Use RCC variable to call rcc compiler
@ 2012-10-07 18:41 Khem Raj
  2012-10-08  6:26 ` Gregor Jasny
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2012-10-07 18:41 UTC (permalink / raw)
  To: linux-media; +Cc: Khem Raj

In cross compile environment rcc native version
may be staged in a different directory or even
called rcc4 or somesuch. Lets provide a facility
to specify it in environment

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 utils/qv4l2/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
index 02d0bcb..86d0285 100644
--- a/utils/qv4l2/Makefile.am
+++ b/utils/qv4l2/Makefile.am
@@ -29,7 +29,7 @@ moc_capture-win.cpp: $(srcdir)/capture-win.h
 
 # Call the Qt resource compiler
 qrc_qv4l2.cpp: $(srcdir)/qv4l2.qrc
-	rcc -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc
+	$(RCC) -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc
 
 install-data-local:
 	$(INSTALL_DATA) -D -p "$(srcdir)/qv4l2.desktop"   "$(DESTDIR)$(datadir)/applications/qv4l2.desktop"
-- 
1.7.10.4


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

* Re: [v4l-utils] Use RCC variable to call rcc compiler
  2012-10-07 18:41 [v4l-utils] Use RCC variable to call rcc compiler Khem Raj
@ 2012-10-08  6:26 ` Gregor Jasny
  2012-10-08 13:50   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Jasny @ 2012-10-08  6:26 UTC (permalink / raw)
  To: Khem Raj; +Cc: linux-media

Hello Khem,

On 10/7/12 8:41 PM, Khem Raj wrote:
> In cross compile environment rcc native version
> may be staged in a different directory or even
> called rcc4 or somesuch. Lets provide a facility
> to specify it in environment

I'll take care of this patch.

> diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
> index 02d0bcb..86d0285 100644
> --- a/utils/qv4l2/Makefile.am
> +++ b/utils/qv4l2/Makefile.am
> @@ -29,7 +29,7 @@ moc_capture-win.cpp: $(srcdir)/capture-win.h
>  
>  # Call the Qt resource compiler
>  qrc_qv4l2.cpp: $(srcdir)/qv4l2.qrc
> -	rcc -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc
> +	$(RCC) -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc
>  
>  install-data-local:
>  	$(INSTALL_DATA) -D -p "$(srcdir)/qv4l2.desktop"   "$(DESTDIR)$(datadir)/applications/qv4l2.desktop"
> 

Where does RCC gets populated? The configure.ac parts seems to be missing.

Thanks,
Gregor

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

* Re: [v4l-utils] Use RCC variable to call rcc compiler
  2012-10-08  6:26 ` Gregor Jasny
@ 2012-10-08 13:50   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-10-08 13:50 UTC (permalink / raw)
  To: Gregor Jasny; +Cc: linux-media

On Sun, Oct 7, 2012 at 11:26 PM, Gregor Jasny <gjasny@googlemail.com> wrote:
> Hello Khem,
>
> On 10/7/12 8:41 PM, Khem Raj wrote:
>> In cross compile environment rcc native version
>> may be staged in a different directory or even
>> called rcc4 or somesuch. Lets provide a facility
>> to specify it in environment
>
> I'll take care of this patch.
>
>> diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
>> index 02d0bcb..86d0285 100644
>> --- a/utils/qv4l2/Makefile.am
>> +++ b/utils/qv4l2/Makefile.am
>> @@ -29,7 +29,7 @@ moc_capture-win.cpp: $(srcdir)/capture-win.h
>>
>>  # Call the Qt resource compiler
>>  qrc_qv4l2.cpp: $(srcdir)/qv4l2.qrc
>> -     rcc -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc
>> +     $(RCC) -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc
>>
>>  install-data-local:
>>       $(INSTALL_DATA) -D -p "$(srcdir)/qv4l2.desktop"   "$(DESTDIR)$(datadir)/applications/qv4l2.desktop"
>>
>
> Where does RCC gets populated? The configure.ac parts seems to be missing.
>

hmm ok. I have been using it in environment. but I will do a v2 with
configure.in detecting it with pkgconfig

> Thanks,
> Gregor

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

end of thread, other threads:[~2012-10-08 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07 18:41 [v4l-utils] Use RCC variable to call rcc compiler Khem Raj
2012-10-08  6:26 ` Gregor Jasny
2012-10-08 13:50   ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).