[Buildroot] [PATCH] package/qt5location: handle plugins being conditionally built
thomas.petazzoni at free-electrons.com
Fri Jul 21 06:26:39 UTC 2017
On Thu, 20 Jul 2017 16:33:29 -0700, Joshua Henderson wrote:
> This fixes a build issue where the qt5location plugins are not built, but are
> attempted to be installed.
> The qt5location plugins have dependencies that are automatically resolved
> causing plugins to conditionaly be built. This change checks for the existance
> of the plugins prior to trying to install them.
Thanks for the fix. Do you know under which condition the plugins will
be built vs. not built ?
If it's related to one or several dependencies being available, then I
would prefer something like:
ifeq ($(BR2...dependencies needed for plugins),y)
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/position $(TARGET_DIR)/usr/lib/qt/plugins/
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Positioning.so.* $(TARGET_DIR)/usr/lib
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
More information about the buildroot