summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-02-25 19:59:40 +0800
committerJeffery To <jeffery.to@gmail.com>2023-03-31 13:06:34 +0800
commit8f32fd202e2369ad5f8c33e45fb2d2f846613631 (patch)
treeab56d578938b2e98ac5837829110fb2001ba106f /lang/python
parent790beee4305f735e72bd0315fc0f2d428ec6b82b (diff)
python-pycparser: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/python-pycparser/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/python/python-pycparser/Makefile b/lang/python/python-pycparser/Makefile
index e3720a963..5085372dc 100644
--- a/lang/python/python-pycparser/Makefile
+++ b/lang/python/python-pycparser/Makefile
@@ -19,10 +19,18 @@ PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_BUILD_DEPENDS:=python-ply/host # ply==3.10
+HOST_BUILD_DEPENDS:= \
+ python3/host \
+ python-build/host \
+ python-installer/host \
+ python-wheel/host \
+ python-ply/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
include ../python3-package.mk
+include ../python3-host-build.mk
define Package/python3-pycparser
SECTION:=lang
@@ -44,3 +52,4 @@ endef
$(eval $(call Py3Package,python3-pycparser))
$(eval $(call BuildPackage,python3-pycparser))
$(eval $(call BuildPackage,python3-pycparser-src))
+$(eval $(call HostBuild))