From: Marcus Folkesson Date: Mon, 12 Feb 2024 14:57:30 +0000 (+0100) Subject: python-jinja2: create /host target X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=eb35a3be13d98f306454657b0326822cf3029b29;p=openwrt-packages.git python-jinja2: create /host target Make the python-jinja2/host target available for the build environment to be used with e.g. the PKG_BUILD_DEPENDS list. This is needed for an upcoming package (libcamera). Signed-off-by: Marcus Folkesson --- diff --git a/lang/python/python-jinja2/Makefile b/lang/python/python-jinja2/Makefile index 76ebb2334..e7514ff13 100644 --- a/lang/python/python-jinja2/Makefile +++ b/lang/python/python-jinja2/Makefile @@ -15,10 +15,13 @@ PKG_MAINTAINER:=Michal Vasilek PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE.rst PKG_CPE_ID:=cpe:/a:pocoo:jinja2 +HOST_BUILD_DEPENDS:= python-markupsafe/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-jinja2 SECTION:=lang @@ -43,3 +46,4 @@ endef $(eval $(call Py3Package,python3-jinja2)) $(eval $(call BuildPackage,python3-jinja2)) $(eval $(call BuildPackage,python3-jinja2-src)) +$(eval $(call HostBuild))