Skip to content

Commit e07e0cc

Browse files
committed
python-pyserial: add hostbuild
Signed-off-by: Austin Lane <[email protected]> (cherry picked from commit ac212e0)
1 parent 153d1ed commit e07e0cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lang/python/python-pyserial/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=python-pyserial
1111
PKG_VERSION:=3.5
12-
PKG_RELEASE:=1
12+
PKG_RELEASE:=2
1313

1414
PYPI_NAME:=pyserial
1515
PKG_HASH:=3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb
@@ -18,9 +18,13 @@ PKG_LICENSE:=BSD-3-Clause
1818
PKG_LICENSE_FILES:=LICENSE.txt
1919
PKG_MAINTAINER:=Micke Prag <[email protected]>
2020

21+
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host
22+
2123
include ../pypi.mk
2224
include $(INCLUDE_DIR)/package.mk
25+
include $(INCLUDE_DIR)/host-build.mk
2326
include ../python3-package.mk
27+
include ../python3-host-build.mk
2428

2529
define Package/python3-pyserial
2630
SECTION:=lang
@@ -41,3 +45,4 @@ endef
4145
$(eval $(call Py3Package,python3-pyserial))
4246
$(eval $(call BuildPackage,python3-pyserial))
4347
$(eval $(call BuildPackage,python3-pyserial-src))
48+
$(eval $(call HostBuild))

0 commit comments

Comments
 (0)