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

Side by Side Diff: src/scripts/extlinux.sh

Issue 651062: Remove old build related scripts that are no longer needed. (Closed)
Patch Set: Adjusted after rtc's change. Created 10 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/scripts/import_native_build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Runs our own version of extlinux, which is in the third_party directory.
8 # Our version is quieter and faster. extlinux will be compiled if it's not
9 # already.
10
11 set -e
12
13 SCRIPTS_ROOT=`dirname "$0"`
14 THIRD_PARTY="${SCRIPTS_ROOT}/../third_party"
15 BUILD_ROOT=${BUILD_ROOT:-${SCRIPTS_ROOT}/../build}
16 EXTLINUX_BIN="$BUILD_ROOT"/x86/obj/src/third_party/syslinux/syslinux-*/extlinux/ extlinux
17
18 echo bin is "$EXTLINUX_BIN"
19
20 if [ ! -e $EXTLINUX_BIN ]
21 then
22 # compile extlinux
23 (cd "$SCRIPTS_ROOT/../third_party/syslinux/files/" && make)
24 if [ ! -e $EXTLINUX_BIN ]
25 then
26 echo "Can't find or compile extlinux. Sorry."
27 exit 1
28 fi
29 fi
30
31 # we don't want ""s around $* b/c that will group all args into a single arg
32 $EXTLINUX_BIN $*
OLDNEW
« no previous file with comments | « no previous file | src/scripts/import_native_build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698