1 ################################################################################
5 ################################################################################
7 QEXTSERIALPORT_VERSION
= ada321a9ee463f628e7b781b8ed00ff219152158
8 QEXTSERIALPORT_SITE
= $(call github
,qextserialport
,qextserialport
,$(QEXTSERIALPORT_VERSION
))
9 QEXTSERIALPORT_LICENSE
= MIT
10 QEXTSERIALPORT_LICENSE_FILES
= LICENSE.md
11 QEXTSERIALPORT_INSTALL_STAGING
= YES
13 ifeq ($(BR2_STATIC_LIBS
),y
)
14 QEXTSERIALPORT_CONF_OPTS
+= CONFIG
+=qesp_static
17 ifeq ($(BR2_PACKAGE_QT
),y
)
18 QEXTSERIALPORT_DEPENDENCIES
+= qt
19 QEXTSERIALPORT_QMAKE
= $(QT_QMAKE
)
20 else ifeq ($(BR2_PACKAGE_QT5
),y
)
21 QEXTSERIALPORT_DEPENDENCIES
+= qt5base
22 QEXTSERIALPORT_QMAKE
= $(QT5_QMAKE
)
25 define QEXTSERIALPORT_CONFIGURE_CMDS
26 cd
$(@D
); $(TARGET_MAKE_ENV
) $(QEXTSERIALPORT_QMAKE
) $(QEXTSERIALPORT_CONF_OPTS
)
29 define QEXTSERIALPORT_BUILD_CMDS
30 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
33 define QEXTSERIALPORT_INSTALL_STAGING_CMDS
34 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
37 ifeq ($(BR2_STATIC_LIBS
),y
)
38 QEXTSERIALPORT_INSTALL_TARGET
= NO
40 define QEXTSERIALPORT_INSTALL_TARGET_CMDS
41 cp
-a
$(@D
)/*.so.
* $(TARGET_DIR
)/usr
/lib
45 $(eval
$(generic-package
))