Patchwork [meta-qt5,v5,1/2] qtimageformats: allow empty qtimageformats package

login
register
mail settings
Submitter Jonathan Liu
Date March 12, 2014, 10:52 p.m.
Message ID <1394664760-8615-1-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/68557/
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Comments

Jonathan Liu - March 12, 2014, 10:52 p.m.
This fixes installing qtimageformats-dev with opkg as it depends on the
qtimageformats package which wasn't created.

The qtimageformats package was not created as it is empty and BitBake
avoids producing empty packages by default. The installed files consist
of source files split into qtimageformats-dbg, CMake files split into
qtimageformats-dev, plugins split into qtimageformats-plugins and
debug build of plugins split into qtimageformats-plugins-dbg.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 recipes-qt/qt5/qtimageformats.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes-qt/qt5/qtimageformats.inc b/recipes-qt/qt5/qtimageformats.inc
index 1b4bb4f..f90e58a 100644
--- a/recipes-qt/qt5/qtimageformats.inc
+++ b/recipes-qt/qt5/qtimageformats.inc
@@ -1,3 +1,4 @@ 
 require qt5.inc
 
 DEPENDS += "qtbase tiff"
+ALLOW_EMPTY_${PN} = "1"