aboutsummaryrefslogtreecommitdiff
path: root/configs/qemu_arm_vexpress_tz_defconfig
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@smile.fr>2020-03-08 19:35:32 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-03-08 20:55:33 +0100
commit9f16ddcdc6e73a790d7350dccb4694706f9d95f5 (patch)
tree7ad9f38842bcf689547e5613d216a738b37a3090 /configs/qemu_arm_vexpress_tz_defconfig
parent05e47e84f5f533e77b386200dc8ebc4d63722f16 (diff)
downloadbuildroot-9f16ddcdc6e73a790d7350dccb4694706f9d95f5.tar.gz
buildroot-9f16ddcdc6e73a790d7350dccb4694706f9d95f5.tar.bz2
configs/qemu_arm_vexpress_tz_defconfig: optee needs host-python3 w/ modules
optee-os needs host-python-pycrypto build for python3. The only way we can force building host-python modules for python3 is to select python3 package for the target. Since we want to avoid adding more host-python3-<modules> (host-python-pycrypto host-python-pyelftools), select python3 package even if it's not used. This problem will be fixed as soon as python2 is removed. Fixes: File "scripts/pem_to_pub_c.py", line 24, in main from Crypto.PublicKey import RSA ImportError: No module named 'Crypto' https://gitlab.com/buildroot.org/buildroot/-/jobs/456818689 Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'configs/qemu_arm_vexpress_tz_defconfig')
-rw-r--r--configs/qemu_arm_vexpress_tz_defconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/qemu_arm_vexpress_tz_defconfig b/configs/qemu_arm_vexpress_tz_defconfig
index ccc0dca3ec..eff3f52d11 100644
--- a/configs/qemu_arm_vexpress_tz_defconfig
+++ b/configs/qemu_arm_vexpress_tz_defconfig
@@ -38,6 +38,13 @@ BR2_PACKAGE_OPTEE_BENCHMARK=y
BR2_PACKAGE_OPTEE_EXAMPLES=y
BR2_PACKAGE_OPTEE_TEST=y
+# OP-TEE components needs host-python3 interpreter and its modules
+BR2_PACKAGE_HOST_PYTHON3=y
+# Select python3 on the target to make sure Buildroot builds host-python using
+# python3 and builds all host-python modules for python3.
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
+BR2_PACKAGE_PYTHON3=y
+
# U-boot for booting the dear Linux kernel
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y