Brian Silverman | 2d9cf66 | 2013-12-18 14:22:49 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | set -e |
| 4 | |
Brian Silverman | 1662a0e | 2013-12-19 17:50:01 -0800 | [diff] [blame] | 5 | cd $(dirname $0) |
| 6 | |
Brian Silverman | 2d9cf66 | 2013-12-18 14:22:49 -0800 | [diff] [blame] | 7 | [[ -d stm32flash ]] || ( git clone https://git.gitorious.org/stm32flash/stm32flash.git stm32flash && |
Brian Silverman | 11db9dd | 2014-01-01 16:29:22 -0800 | [diff] [blame^] | 8 | cd stm32flash && git checkout 5b0e391c539e906df7b97f0b457875d90883ea8e && patch -p1 < ../0001-fixed-the-page-by-page-erase-logic.patch ) |
| 9 | |
| 10 | # TODO(brians): This breaks the build of the main code. Figure out something |
| 11 | # better for this stuff. |
Brian Silverman | 2d9cf66 | 2013-12-18 14:22:49 -0800 | [diff] [blame] | 12 | |
| 13 | ../../../aos/build/build.sh atom flasher.gyp no "$@" |