]> code.ossystems Code Review - openembedded-core.git/commitdiff
qmake_base.bbclass: Add linux-gnun32-oe-g++ to QMAKESPEC
authorXin Ouyang <Xin.Ouyang@windriver.com>
Wed, 29 May 2013 15:09:55 +0000 (10:09 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 May 2013 21:13:13 +0000 (22:13 +0100)
For some mips targets, TARGET_OS is set to linux-gnun32, while
linux-gnun32-oe-g++ is not listed in the default QMAKESPEC list of
qmake in oe-core/wrlinux. This would cause build failures for qt
apps, so add a matching rule to fix this.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/qmake_base.bbclass

index fa1b5f0000a056810f98386e77b1f1c5a481de97..52e7fb0ff8c7c22cbce831ef64b177928f156d58 100644 (file)
@@ -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-gnuspe-oe-g++|*linux-uclibcspe-oe-g++)
+       *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceabi-oe-g++|*linux-gnuspe-oe-g++|*linux-uclibcspe-oe-g++|*linux-gnun32-oe-g++)
                ;;
        *-oe-g++)
                die Unsupported target ${TARGET_OS} for oe-g++ qmake spec