package/pkg-qmake: add <pkg>_SYNC_QT_HEADERS support
authorAngelo Compagnucci <angelo@amarulasolutions.com>
Tue, 24 Nov 2020 06:59:14 +0000 (07:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 5 Dec 2020 21:48:47 +0000 (22:48 +0100)
commit39d334faa5c160c730e702cfad2e033f26d38181
tree199aa4bdbab618944cee666f77f7cc06ca0eb7b7
parent79d7d5840eebe4da6689222f9a002c959a3b5ba1
package/pkg-qmake: add <pkg>_SYNC_QT_HEADERS support

Some qmake based packages need to call the syncqt.pl script before
building to have a properly populated "include" directory inside the
package build tree.

This script is normally automatically executed by qmake when a source
tree is from a git clone: buildroot purges the .git directory hence
the script never runs, and we need to call it explicitly. Setting
<pkg>_SYNC_QT_HEADERS = YES will force calling this script.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
docs/manual/adding-packages-qmake.txt
package/pkg-qmake.mk