7f67bd1ca6
Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# qt6serialport
|
|
#
|
|
################################################################################
|
|
|
|
QT6SERIALPORT_VERSION = $(QT6_VERSION)
|
|
QT6SERIALPORT_SITE = $(QT6_SITE)
|
|
QT6SERIALPORT_SOURCE = qtserialport-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SERIALPORT_VERSION).tar.xz
|
|
QT6SERIALPORT_INSTALL_STAGING = YES
|
|
QT6SERIALPORT_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
QT6SERIALPORT_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception (tools), GFDL-1.3 (docs)
|
|
QT6SERIALPORT_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
|
QT6SERIALPORT_CONF_OPTS = \
|
|
-GNinja \
|
|
-DQT_HOST_PATH=$(HOST_DIR) \
|
|
-DBUILD_WITH_PCH=OFF \
|
|
-DQT_BUILD_EXAMPLES=OFF \
|
|
-DQT_BUILD_TESTS=OFF
|
|
|
|
QT6SERIALPORT_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
host-ninja \
|
|
qt6base
|
|
|
|
define QT6SERIALPORT_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --build $(QT6SERIALPORT_BUILDDIR)
|
|
endef
|
|
|
|
define QT6SERIALPORT_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --install $(QT6SERIALPORT_BUILDDIR) --prefix $(STAGING_DIR)/usr
|
|
endef
|
|
|
|
define QT6SERIALPORT_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --install $(QT6SERIALPORT_BUILDDIR) --prefix $(TARGET_DIR)/usr
|
|
endef
|
|
|
|
$(eval $(cmake-package))
|