diff options
author | Andrei Cherechesu | 2022-04-08 19:38:52 +0300 |
---|---|---|
committer | Stefano Stabellini | 2022-04-11 20:11:18 -0700 |
commit | b9e2809fce57a6e2ae88a4ef75ae11c4555d57a7 (patch) | |
tree | a0d2ec7f12a86f1c6fc80324ab52f1e841881382 /scripts/uboot-script-gen | |
parent | 96b30388509a9bcff297f8eaa91cae5546842573 (diff) |
uboot-script-gen: Skip symbolic links resolving
Skipped symbolic links resolving, since the file
names that we pass via configs are symlinks, but we want the
tool to generate a script with the exact same names that we
pass to it.
Signed-off-by: Andrei Cherechesu <andrei.cherechesu@nxp.com>
Reviewed-by: Ayan Kumar Halder <ayankuma@xilinx.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'scripts/uboot-script-gen')
-rwxr-xr-x | scripts/uboot-script-gen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index aee45ec..c23caca 100755 --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -211,7 +211,7 @@ function load_file() local filename=$1 local fit_scr_name=$2 - local relative_path="$(realpath --relative-to=$PWD $filename)" + local relative_path="$(realpath --no-symlinks --relative-to=$PWD $filename)" if test "$FIT" then |