46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# qt6serialbus
|
|
#
|
|
################################################################################
|
|
|
|
QT6SERIALBUS_VERSION = $(QT6_VERSION)
|
|
QT6SERIALBUS_SITE = $(QT6_SITE)
|
|
QT6SERIALBUS_SOURCE = qtserialbus-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SERIALBUS_VERSION).tar.xz
|
|
QT6SERIALBUS_INSTALL_STAGING = YES
|
|
QT6SERIALBUS_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
QT6SERIALBUS_LICENSE = \
|
|
GPL-2.0+ or LGPL-3.0, \
|
|
GPL-3.0, GFDL-1.3 no invariants (docs)
|
|
|
|
QT6SERIALBUS_LICENSE_FILES = \
|
|
LICENSES/GPL-2.0-only.txt \
|
|
LICENSES/GPL-3.0-only.txt \
|
|
LICENSES/LGPL-3.0-only.txt \
|
|
LICENSES/GFDL-1.3-no-invariants-only.txt
|
|
|
|
QT6SERIALBUS_CONF_OPTS = \
|
|
-GNinja \
|
|
-DQT_HOST_PATH=$(HOST_DIR) \
|
|
-DBUILD_WITH_PCH=OFF \
|
|
-DQT_BUILD_EXAMPLES=OFF \
|
|
-DQT_BUILD_TESTS=OFF
|
|
|
|
QT6SERIALBUS_DEPENDENCIES = \
|
|
qt6serialport
|
|
|
|
define QT6SERIALBUS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --build $(QT6SERIALBUS_BUILDDIR)
|
|
endef
|
|
|
|
define QT6SERIALBUS_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) DESTDIR=$(STAGING_DIR) $(BR2_CMAKE) --install $(QT6SERIALBUS_BUILDDIR)
|
|
endef
|
|
|
|
define QT6SERIALBUS_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) DESTDIR=$(TARGET_DIR) $(BR2_CMAKE) --install $(QT6SERIALBUS_BUILDDIR)
|
|
endef
|
|
|
|
$(eval $(cmake-package))
|