File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ EXTRA_PATH=
3737
3838case $os in
3939 Darwin)
40- install=" python-tools u-boot-tools discoteq-flock elf-toolchain gen-romfs kconfig-frontends arm-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain avr-gcc-toolchain c-cache"
40+ install=" python-tools u-boot-tools discoteq-flock elf-toolchain gen-romfs kconfig-frontends arm-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain avr-gcc-toolchain c-cache binutils "
4141 mkdir -p ${prebuilt} /homebrew
4242 export HOMEBREW_CACHE=${prebuilt} /homebrew
4343 ;;
@@ -325,6 +325,18 @@ function c-cache {
325325 ln -sf ` which ccache` $prebuilt /ccache/bin/avr-g++
326326}
327327
328+ function binutils {
329+ add_path /usr/local/binutils/bin/
330+
331+ if ! type objcopy > /dev/null; then
332+ case $os in
333+ Darwin)
334+ brew install binutils
335+ ;;
336+ esac
337+ fi
338+ }
339+
328340function usage {
329341 echo " "
330342 echo " USAGE: $0 [-i] [-s] [-c] [-*] <testlist>"
You can’t perform that action at this time.
0 commit comments