Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1494)

Unified Diff: src/scripts/build_gpt.sh

Issue 1613008: move mkimage (Closed)
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/scripts/build_image » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_gpt.sh
diff --git a/src/scripts/build_gpt.sh b/src/scripts/build_gpt.sh
index 96e66e431722719cf1c74945cd9f8c06e3ab95e8..0201ca516e14632fb5cf3b4b09f7373fe26320ab 100755
--- a/src/scripts/build_gpt.sh
+++ b/src/scripts/build_gpt.sh
@@ -21,8 +21,6 @@ DEFINE_string arch "" \
"The target architecture (\"arm\" or \"x86\")."
DEFINE_string board "$DEFAULT_BOARD" \
"The board to build an image for."
-DEFINE_string board_root "" \
- "The build directory, needed to find tools for ARM."
# Usage.
FLAGS_HELP=$(cat <<EOF
@@ -70,10 +68,6 @@ else
esac
fi
-if [[ -z "$FLAGS_board_root" ]]; then
- FLAGS_board_root="/build/${FLAGS_board}"
-fi
-
# Only now can we die on error. shflags functions leak non-zero error codes,
# so will die prematurely if 'set -e' is specified before now.
set -e
@@ -130,7 +124,7 @@ if [[ "$ARCH" = "arm" ]]; then
"setenv bootargs ${BOOTARGS}\n" \
"mmc read 1 C0008000 $KERNEL_OFFSET $KERNEL_SECS_HEX\n" \
"bootm C0008000" > ${MBR_SCRIPT}
- MKIMAGE="${FLAGS_board_root}/u-boot/mkimage"
+ MKIMAGE="/usr/bin/mkimage"
if [[ -f "$MKIMAGE".gz ]]; then
sudo gunzip "$MKIMAGE".gz
fi
« no previous file with comments | « no previous file | src/scripts/build_image » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698