[U-Boot] [PATCH] script: Make get_default_envs.sh script exclude tools/env

If building envtools, there is env directory in tools directory. Mafe the get_default_envs.sh script exclude tools/env directory.
Signed-off-by: Seung-Woo Kim sw0312.kim@samsung.com --- scripts/get_default_envs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/get_default_envs.sh b/scripts/get_default_envs.sh index 2872653..da86a9d 100755 --- a/scripts/get_default_envs.sh +++ b/scripts/get_default_envs.sh @@ -23,7 +23,7 @@ else fi
env_obj_file_path=$(find ${path} -path "*/env/*" -not -path "*/spl/*" \ - -name "${ENV_OBJ_FILE}") + -not -path "*/tools/*" -name "${ENV_OBJ_FILE}") [ -z "${env_obj_file_path}" ] && \ { echoerr "File '${ENV_OBJ_FILE}' not found!"; exit 1; }

Hi,
2018년 6월 4일 (월) 13:25, Seung-Woo Kim sw0312.kim@samsung.com님이 작성:
If building envtools, there is env directory in tools directory. Mafe the get_default_envs.sh script exclude tools/env directory.
'mafe' seems to a typo.
Signed-off-by: Seung-Woo Kim sw0312.kim@samsung.com
scripts/get_default_envs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/get_default_envs.sh b/scripts/get_default_envs.sh index 2872653..da86a9d 100755 --- a/scripts/get_default_envs.sh +++ b/scripts/get_default_envs.sh @@ -23,7 +23,7 @@ else fi
env_obj_file_path=$(find ${path} -path "*/env/*" -not -path "*/spl/*" \
-name "${ENV_OBJ_FILE}")
-not -path "*/tools/*" -name "${ENV_OBJ_FILE}")
[ -z "${env_obj_file_path}" ] && \ { echoerr "File '${ENV_OBJ_FILE}' not found!"; exit 1; }
-- 1.7.9.5
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Thanks, Minkyu Kang.

If building envtools, there is env directory in tools directory. Make the get_default_envs.sh script exclude tools/env directory.
Signed-off-by: Seung-Woo Kim sw0312.kim@samsung.com --- Change from v1 - fix typp as Minkyu's comment --- scripts/get_default_envs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/get_default_envs.sh b/scripts/get_default_envs.sh index 2872653..da86a9d 100755 --- a/scripts/get_default_envs.sh +++ b/scripts/get_default_envs.sh @@ -23,7 +23,7 @@ else fi
env_obj_file_path=$(find ${path} -path "*/env/*" -not -path "*/spl/*" \ - -name "${ENV_OBJ_FILE}") + -not -path "*/tools/*" -name "${ENV_OBJ_FILE}") [ -z "${env_obj_file_path}" ] && \ { echoerr "File '${ENV_OBJ_FILE}' not found!"; exit 1; }

On Tue, Jun 05, 2018 at 02:28:54PM +0900, Seung-Woo Kim wrote:
If building envtools, there is env directory in tools directory. Make the get_default_envs.sh script exclude tools/env directory.
Signed-off-by: Seung-Woo Kim sw0312.kim@samsung.com
Applied to u-boot/master, thanks!

On Mon, Jun 04, 2018 at 01:25:04PM +0900, Seung-Woo Kim wrote:
If building envtools, there is env directory in tools directory. Mafe the get_default_envs.sh script exclude tools/env directory.
Signed-off-by: Seung-Woo Kim sw0312.kim@samsung.com
Applied to u-boot/master, thanks!
participants (3)
-
Minkyu Kang
-
Seung-Woo Kim
-
Tom Rini