qt4x11: set QT_LIBINFIX and QT_DIR_NAME
authorEric Bénard <eric@eukrea.com>
Thu, 25 Nov 2010 15:54:29 +0000 (16:54 +0100)
committerEric Bénard <eric@eukrea.com>
Wed, 1 Dec 2010 06:49:39 +0000 (07:49 +0100)
this will fix the following issue with qwt 5.2.1 where obj dir is:
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/
instead of :
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj/

From: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
classes/qt4x11.bbclass

index 2d56b7e..abb1d9d 100644 (file)
@@ -2,5 +2,8 @@ DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] ==
 
 inherit qmake2
 
+QT_DIR_NAME = "qt4"
+QT_LIBINFIX = ""
+
 # Qt4 uses atomic instructions not supported in thumb mode
 ARM_INSTRUCTION_SET = "arm"