diff options
author | Joshua Henderson <joshua.henderson@microchip.com> | 2018-04-05 14:34:41 -0700 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-04-08 21:33:10 +0200 |
commit | 1128385dc9dbefc347ff98472b43dd530489be2e (patch) | |
tree | 40d2cd28c332fe52dc0cff0b7ce175661ce553e8 | |
parent | 50f01475aaa9115cbe91d0bbdd5e81be0be5e22e (diff) | |
download | buildroot-1128385dc9dbefc347ff98472b43dd530489be2e.tar.gz buildroot-1128385dc9dbefc347ff98472b43dd530489be2e.zip |
board/atmel: use correct sam-ba binary in flasher.sh script
Instead of using the install of sam-ba under host/opt directly, use the symlink
created in host/bin. The side effect of doing this instead allows the correct
sam-ba binary to be used based on the host arch being 32 bit or 64 bit.
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e1452fe8434c4613d1727034db525c0a9bbc6dfd)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rwxr-xr-x | board/atmel/flasher.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/atmel/flasher.sh b/board/atmel/flasher.sh index bbdb199b97..c122760952 100755 --- a/board/atmel/flasher.sh +++ b/board/atmel/flasher.sh @@ -130,7 +130,6 @@ if [[ $BOARD == "*pda4" ]]; then video_mode="video=LVDS-1:480x272-16" fi -echo "Executing: ${!F} O=$1/images $1/host/opt/sam-ba/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode" +echo "Executing: ${!F} O=$1/images $1/host/bin/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode" export O=$1/images -$1/host/opt/sam-ba/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode - +$1/host/bin/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode |