diff options
| author | Thomas Richard | 2025-02-24 10:15:51 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-03-15 12:43:14 +0000 |
| commit | 8c3a43be27d989ef42d4148949e43266694a5168 (patch) | |
| tree | ab5a36cc5a739834bad0aff24b5a44401823a207 | |
| parent | f3eca7cbc105afe9c6b79ae7b36a2784d419f134 (diff) | |
| download | openwrt-8c3a43be27d989ef42d4148949e43266694a5168.tar.gz | |
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@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18102
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | include/optee-os.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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)" \ |