[Buildroot] [PATCH v2] qt5serialbus: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Apr 18 20:44:20 UTC 2016


Hello,

On Tue, 29 Mar 2016 15:23:44 +0200, yegorslists at googlemail.com wrote:

> +ifeq ($(BR2_STATIC_LIBS),)
> +define QT5SERIALBUS_INSTALL_TARGET_CMDS
> +	cp -dpf $(STAGING_DIR)/usr/lib/libQt5SerialBus.so.* \
> +		$(TARGET_DIR)/usr/lib
> +
> +	mkdir -p $(TARGET_DIR)/usr/lib/qt/plugins/canbus
> +	cp -dpf $(STAGING_DIR)/usr/lib/qt/plugins/canbus/*.so \
> +		$(TARGET_DIR)/usr/lib/qt/plugins/canbus
> +
> +	$(INSTALL) -m 0755 -D $(@D)/bin/canbusutil \
> +		$(TARGET_DIR)/usr/bin/canbusutil

This tool is most likely available and should be installed even when
BR2_STATIC_LIBS=y, so I've fixed up this aspect in your package and
applied. Please check
https://git.buildroot.net/buildroot/commit/?id=1a9a9d15e670b0ab93da06e036384514ac69b642,
and if you can, do a BR2_STATIC_LIBS=y build to double check.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list