1 ################################################################################
5 ################################################################################
7 QT5SERIALBUS_VERSION
= $(QT5_VERSION
)
8 QT5SERIALBUS_SITE
= $(QT5_SITE
)
9 QT5SERIALBUS_SOURCE
= qtserialbus-opensource-src-
$(QT5SERIALBUS_VERSION
).
tar.xz
10 QT5SERIALBUS_DEPENDENCIES
= qt5base qt5serialport
11 QT5SERIALBUS_INSTALL_STAGING
= YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
),y
)
14 QT5SERIALBUS_LICENSE
= GPLv2 or GPLv3 or LGPLv3
, GFDLv1.3
(docs
)
15 QT5SERIALBUS_LICENSE_FILES
= LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
17 QT5SERIALBUS_LICENSE
= Commercial license
18 QT5SERIALBUS_REDISTRIBUTE
= NO
21 define QT5SERIALBUS_CONFIGURE_CMDS
22 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
25 define QT5SERIALBUS_BUILD_CMDS
26 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
29 define QT5SERIALBUS_INSTALL_STAGING_CMDS
30 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
31 $(QT5_LA_PRL_FILES_FIXUP
)
34 ifeq ($(BR2_STATIC_LIBS
),)
35 define QT5SERIALBUS_INSTALL_TARGET_LIBS
36 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5SerialBus.so.
* \
38 mkdir
-p
$(TARGET_DIR
)/usr
/lib
/qt
/plugins
/canbus
39 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/qt
/plugins
/canbus
/*.so \
40 $(TARGET_DIR
)/usr
/lib
/qt
/plugins
/canbus
44 define QT5SERIALBUS_INSTALL_TARGET_CMDS
45 $(QT5SERIALBUS_INSTALL_TARGET_LIBS
)
46 $(INSTALL
) -m
0755 -D
$(@D
)/bin
/canbusutil \
47 $(TARGET_DIR
)/usr
/bin
/canbusutil
50 $(eval
$(generic-package
))