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=
37
37
38
38
case $os in
39
39
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 "
41
41
mkdir -p ${prebuilt} /homebrew
42
42
export HOMEBREW_CACHE=${prebuilt} /homebrew
43
43
;;
@@ -325,6 +325,18 @@ function c-cache {
325
325
ln -sf ` which ccache` $prebuilt /ccache/bin/avr-g++
326
326
}
327
327
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
+
328
340
function usage {
329
341
echo " "
330
342
echo " USAGE: $0 [-i] [-s] [-c] [-*] <testlist>"
You can’t perform that action at this time.
0 commit comments