Patchwork qmake: add linux-qnuspe to the list of supported targets

login
register
mail settings
Submitter Matthew McClintock
Date Sept. 4, 2012, 7:09 p.m.
Message ID <1346785794-18278-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/35835/
State New
Headers show

Comments

Matthew McClintock - Sept. 4, 2012, 7:09 p.m.
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/classes/qmake_base.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Paul Eggleton - Sept. 6, 2012, 9:20 a.m.
On Tuesday 04 September 2012 14:09:54 Matthew McClintock wrote:
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  meta/classes/qmake_base.bbclass |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/qmake_base.bbclass
> b/meta/classes/qmake_base.bbclass index d1008b6..f972b27 100644
> --- a/meta/classes/qmake_base.bbclass
> +++ b/meta/classes/qmake_base.bbclass
> @@ -48,7 +48,7 @@ addtask generate_qt_config_file after do_patch before
> do_configure
> 
>  qmake_base_do_configure() {
>  	case ${QMAKESPEC} in
> -	*linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceabi
> -oe-g++)
> +	*linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceab
> i-oe-g++|*linux-gnuspe-oe-g++) ;;
>  	*-oe-g++)
>  		die Unsupported target ${TARGET_OS} for oe-g++ qmake spec

Oops, I missed this and created my own equivalent fix based on the file from OE-
Classic. The good news is it has been merged now though, and should support 
uClibc builds as well.

Cheers,
Paul
McClintock Matthew-B29882 - Sept. 6, 2012, 4:20 p.m.
On Thu, Sep 6, 2012 at 4:20 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Tuesday 04 September 2012 14:09:54 Matthew McClintock wrote:
>> Signed-off-by: Matthew McClintock <msm@freescale.com>
>> ---
>>  meta/classes/qmake_base.bbclass |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/qmake_base.bbclass
>> b/meta/classes/qmake_base.bbclass index d1008b6..f972b27 100644
>> --- a/meta/classes/qmake_base.bbclass
>> +++ b/meta/classes/qmake_base.bbclass
>> @@ -48,7 +48,7 @@ addtask generate_qt_config_file after do_patch before
>> do_configure
>>
>>  qmake_base_do_configure() {
>>       case ${QMAKESPEC} in
>> -     *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceabi
>> -oe-g++)
>> +     *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceab
>> i-oe-g++|*linux-gnuspe-oe-g++) ;;
>>       *-oe-g++)
>>               die Unsupported target ${TARGET_OS} for oe-g++ qmake spec
>
> Oops, I missed this and created my own equivalent fix based on the file from OE-
> Classic. The good news is it has been merged now though, and should support
> uClibc builds as well.

I saw that, your patch looked more complete so I did not say anything ;)

-M

>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/classes/qmake_base.bbclass b/meta/classes/qmake_base.bbclass
index d1008b6..f972b27 100644
--- a/meta/classes/qmake_base.bbclass
+++ b/meta/classes/qmake_base.bbclass
@@ -48,7 +48,7 @@  addtask generate_qt_config_file after do_patch before do_configure
 
 qmake_base_do_configure() {
 	case ${QMAKESPEC} in
-	*linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceabi-oe-g++)
+	*linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceabi-oe-g++|*linux-gnuspe-oe-g++)
 		;;
 	*-oe-g++)
 		die Unsupported target ${TARGET_OS} for oe-g++ qmake spec