qemu: fix error on python dependency at build

qemu need a recent version of python build , this is visible when you build with the docker image of the sdk see https://github.com/openwrt/docker/
error generated during the build : found no usable tomli, please install it

Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
This commit is contained in:
Erwan MAS
2024-12-13 10:33:13 -05:00
committed by Rosen Penev
parent 8ba3801f84
commit edad451a84

View File

@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=qemu
PKG_VERSION:=9.1.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_HASH:=816b7022a8ba7c2ac30e2e0cf973e826f6bcc8505339603212c5ede8e94d7834
PKG_SOURCE_URL:=https://download.qemu.org/
@@ -24,9 +24,11 @@ PKG_INSTALL:=1
PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_DEPENDS+=spice-protocol
PKG_BUILD_DEPENDS+=python3/host
include $(INCLUDE_DIR)/nls.mk
include $(INCLUDE_DIR)/package.mk
include ../../lang/python/python3-host.mk
QEMU_DEPS_IN_GUEST := @(TARGET_x86_64||TARGET_armsr||TARGET_malta)
QEMU_DEPS_IN_HOST := @(TARGET_x86_64||TARGET_armsr_armv8||TARGET_sunxi)