kernel: add environment variables [1/1]
PD#SWPL-141965
Problem:
realpath should not use commands on the server
Solution:
add environment variables
Verify:
s7
Change-Id: I18c5085052fe73272109acb5e22ab5f8abd7ae94
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
diff --git a/amlogic_utils.sh b/amlogic_utils.sh
index 4c81b92..4e04f7f 100644
--- a/amlogic_utils.sh
+++ b/amlogic_utils.sh
@@ -1,6 +1,7 @@
#!/bin/bash
function real_path() {
+ export PATH=${ROOT_DIR}/build/kernel/build-tools/path/linux-x86:$PATH
if [[ "${FULL_KERNEL_VERSION}" == "common13-5.15" ]]; then
rel_path $@
else