aboutsummaryrefslogtreecommitdiff
path: root/scripts/uboot-script-gen
diff options
context:
space:
mode:
authorAndrei Cherechesu2022-04-08 19:38:52 +0300
committerStefano Stabellini2022-04-11 20:11:18 -0700
commitb9e2809fce57a6e2ae88a4ef75ae11c4555d57a7 (patch)
treea0d2ec7f12a86f1c6fc80324ab52f1e841881382 /scripts/uboot-script-gen
parent96b30388509a9bcff297f8eaa91cae5546842573 (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-xscripts/uboot-script-gen2
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