projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660aa80
)
python-yaml: create /host target
author
Marcus Folkesson
<
[email protected]
>
Mon, 12 Feb 2024 15:04:09 +0000
(16:04 +0100)
committer
Christian Marangi
<
[email protected]
>
Thu, 18 Apr 2024 14:28:59 +0000
(16:28 +0200)
Make the python-yaml/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 <
[email protected]
>
lang/python/python-yaml/Makefile
patch
|
blob
|
history
diff --git
a/lang/python/python-yaml/Makefile
b/lang/python/python-yaml/Makefile
index 92ac328415cdf914b88a4ee5b4c30894e91089f2..8a62c7f36f8f23ec30ef155cb290ccab5af2bd04 100644
(file)
--- a/
lang/python/python-yaml/Makefile
+++ b/
lang/python/python-yaml/Makefile
@@
-20,10
+20,13
@@
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:pyyaml:pyyaml
PKG_BUILD_DEPENDS:=python-cython/host
+HOST_BUILD_DEPENDS:=python-cython/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-yaml
SECTION:=lang
@@
-43,3
+46,4
@@
PYTHON3_PKG_BUILD_VARS:=PYYAML_FORCE_LIBYAML=1
$(eval $(call Py3Package,python3-yaml))
$(eval $(call BuildPackage,python3-yaml))
$(eval $(call BuildPackage,python3-yaml-src))
+$(eval $(call HostBuild))