From: Thomas Richard Date: Mon, 24 Feb 2025 10:15:51 +0000 (+0100) Subject: optee-os.mk: override default PATH to not use hostpkg python X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18102%2Fhead;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/18102 Signed-off-by: Hauke Mehrtens --- diff --git a/include/optee-os.mk b/include/optee-os.mk index 396d2406bfa..3694b498fd5 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)" \