]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Debugger_scripts/rvi_convert_symbols.sh
Adding support for BeagleBoard.
[mirror_edk2.git] / BeagleBoardPkg / Debugger_scripts / rvi_convert_symbols.sh
diff --git a/BeagleBoardPkg/Debugger_scripts/rvi_convert_symbols.sh b/BeagleBoardPkg/Debugger_scripts/rvi_convert_symbols.sh
new file mode 100755 (executable)
index 0000000..72947cc
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh\r
+#\r
+# Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+#  \r
+# All rights reserved. This program and the accompanying materials\r
+#  are licensed and made available under the terms and conditions of the BSD License\r
+#  which accompanies this distribution.  The full text of the license may be found at\r
+#  http:#opensource.org/licenses/bsd-license.php\r
+#\r
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+\r
+\r
+IN=`/usr/bin/cygpath -u $1`\r
+OUT=`/usr/bin/cygpath -u $2`\r
+\r
+/usr/bin/sed -e "s/\/cygdrive\/\(.\)/load\/a\/ni\/np \"\1:/g" \\r
+             -e 's:\\:/:g' \\r
+             -e "s/^/load\/a\/ni\/np \"/g" \\r
+             -e "s/dll /dll\" \&/g" \\r
+              $IN | /usr/bin/sort.exe --key=3 --output=$OUT\r
+\r