]> git.proxmox.com Git - mirror_edk2.git/blob - BeagleBoardPkg/Debugger_scripts/rvi_convert_symbols.sh
b1a819382c01e272f2082d49f875ee5131ec644a
[mirror_edk2.git] / BeagleBoardPkg / Debugger_scripts / rvi_convert_symbols.sh
1 #!/bin/sh
2 #
3 # Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4 #
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7
8
9 IN=`/usr/bin/cygpath -u $1`
10 OUT=`/usr/bin/cygpath -u $2`
11
12 /usr/bin/sed -e "s/\/cygdrive\/\(.\)/load\/a\/ni\/np \"\1:/g" \
13 -e 's:\\:/:g' \
14 -e "s/^/load\/a\/ni\/np \"/g" \
15 -e "s/dll /dll\" \&/g" \
16 $IN | /usr/bin/sort.exe --key=3 --output=$OUT
17