[openwrt/openwrt] optee-os.mk: override default PATH to not use hostpkg python
LEDE Commits
lede-commits at lists.infradead.org
Mon Mar 17 08:22:57 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/2d8bed0fa1dd006d231143adb9c6457e2510851e
commit 2d8bed0fa1dd006d231143adb9c6457e2510851e
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Mon Feb 24 11:15:51 2025 +0100
optee-os.mk: override default PATH to not use hostpkg python
In some cases hostpkg python from packages feed is used (hostpkg has higher
priority in PATH) which causes build failure (cryptography module is
missing). So override PATH to not use hostpkg python.
Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18102
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
(cherry picked from commit 8c3a43be27d989ef42d4148949e43266694a5168)
---
include/optee-os.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/optee-os.mk b/include/optee-os.mk
index 396d2406bf..3694b498fd 100644
--- a/include/optee-os.mk
+++ b/include/optee-os.mk
@@ -85,7 +85,7 @@ endef
define Build/Compile/Optee-os
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
- PATH=$(LINUX_DIR)/scripts/dtc/:$(PATH) \
+ PATH=$(LINUX_DIR)/scripts/dtc/:$(STAGING_DIR_HOST)/bin:$(PATH) \
CROSS_COMPILE=$(TARGET_CROSS) \
CROSS_COMPILE_core="$(TARGET_CROSS)" \
CROSS_COMPILE_ta_arm64="$(TARGET_CROSS)" \
More information about the lede-commits
mailing list