diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2017-07-05 13:14:26 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 15:23:13 +0200 |
| commit | 31be2ec220c8ad6e1f98d9fb705034cc288de597 (patch) | |
| tree | 4294b956d2fd1c5fbb13c9bfea52bc5d1fc74ed7 /board/chromebook | |
| parent | b2ea6eaf23202c92063931bba6fe8f5506e90d52 (diff) | |
| download | buildroot-31be2ec220c8ad6e1f98d9fb705034cc288de597.tar.gz buildroot-31be2ec220c8ad6e1f98d9fb705034cc288de597.zip | |
boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scripts
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.
This is a mechanical change with
git grep -l 'HOST_DIR}\?/usr/' board | xargs sed -i 's%\(HOST_DIR}\?\)/usr/%\1/%g'
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/chromebook')
| -rwxr-xr-x | board/chromebook/snow/mksd.sh | 4 | ||||
| -rwxr-xr-x | board/chromebook/snow/sign.sh | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/board/chromebook/snow/mksd.sh b/board/chromebook/snow/mksd.sh index b6302aa86f..cba1578ec8 100755 --- a/board/chromebook/snow/mksd.sh +++ b/board/chromebook/snow/mksd.sh @@ -14,8 +14,8 @@ # cgpt does not create protective MBR, and the kernel refuses to read # GPT unless there's some kind of MBR in sector 0. So we need parted # to write that single sector before doing anything with the GPT. -cgpt=$HOST_DIR/usr/bin/cgpt -parted=$HOST_DIR/usr/sbin/parted +cgpt=$HOST_DIR/bin/cgpt +parted=$HOST_DIR/sbin/parted kernel=$BINARIES_DIR/uImage.kpart rootfs=$BINARIES_DIR/rootfs.ext2 diff --git a/board/chromebook/snow/sign.sh b/board/chromebook/snow/sign.sh index 39005ed635..e8f111ff0a 100755 --- a/board/chromebook/snow/sign.sh +++ b/board/chromebook/snow/sign.sh @@ -5,9 +5,9 @@ # The resulting file is called uImage.kpart. BOARD_DIR=$(dirname $0) -mkimage=$HOST_DIR/usr/bin/mkimage -futility=$HOST_DIR/usr/bin/futility -devkeys=$HOST_DIR/usr/share/vboot/devkeys +mkimage=$HOST_DIR/bin/mkimage +futility=$HOST_DIR/bin/futility +devkeys=$HOST_DIR/share/vboot/devkeys run() { echo "$@"; "$@"; } die() { echo "$@" >&2; exit 1; } |

