qt: convert to the GENTARGETS infrastructure
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Mar 2011 14:19:12 +0000 (15:19 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 27 Mar 2011 22:02:46 +0000 (00:02 +0200)
commit421cda1fd078f5fa7902f05bd1d2021fd101d9ea
treebd0c6c51f7a59cd74a1dc4570479973df9b4cd5c
parent4c5ca3d27d510146f2e7c4a7c36c1c1d632909e9
qt: convert to the GENTARGETS infrastructure

In addition to converting the qt package to the GENTARGETS
infrastructure, this commit also does the following (related) things
in the Qt package:

 * Create a BR2_PACKAGE_QT_CONFIG_FILE option, which can be used to
   pass a custom Qt configuration file, such as the ones found in
   src/corelib/global/qconfig-*.h. This used to be possible, but
   required changing qt.mk directly, which isn't really how we
   configure things in Buildroot.

 * Remove the BR2_PACKAGE_QT_EMB_PLATFORM option, the embedded
   platform name is now computed directly in qt.mk.

 * The QT_CONFIGURE variable, which hosted all ./configure options,
   has been renamed to QT_CONFIGURE_OPTS, for consistency with what we
   do in the AUTOTARGETS infrastructure.

 * The QT_DEP_LIBS variable has been renamed to QT_DEPENDENCIES, so
   that dependencies are properly handled by the GENTARGETS
   infrastructures.

 * The QT_QMAKE_SET macro (used to adjust the path/flags of the
   compiler/linker) has been extended with an additional argument,
   which allows to pass the source directory of Qt.

 * All the installation procedure has been rewritten to fit within the
   GENTARGETS mechanism.

[Peter: fixed minor issues pointed out by Will]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Will Wagner <willw@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/Config.in
package/qt/qt.mk