From eb35a3be13d98f306454657b0326822cf3029b29 Mon Sep 17 00:00:00 2001 From: Marcus Folkesson Date: Mon, 12 Feb 2024 15:57:30 +0100 Subject: [PATCH] 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 --- lang/python/python-jinja2/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/python/python-jinja2/Makefile b/lang/python/python-jinja2/Makefile index 76ebb2334d..e7514ff136 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))