mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
tools/ci: Omit error message when tool is not found
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
08ae93c1de
commit
8af91aae3d
+5
-5
@@ -71,7 +71,7 @@ function python-tools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function u-boot-tools {
|
function u-boot-tools {
|
||||||
if ! type mkimage > /dev/null; then
|
if ! type mkimage &> /dev/null; then
|
||||||
case ${os} in
|
case ${os} in
|
||||||
Darwin)
|
Darwin)
|
||||||
brew install u-boot-tools
|
brew install u-boot-tools
|
||||||
@@ -81,7 +81,7 @@ function u-boot-tools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function elf-toolchain {
|
function elf-toolchain {
|
||||||
if ! type x86_64-elf-gcc > /dev/null; then
|
if ! type x86_64-elf-gcc &> /dev/null; then
|
||||||
case ${os} in
|
case ${os} in
|
||||||
Darwin)
|
Darwin)
|
||||||
brew install x86_64-elf-gcc
|
brew install x86_64-elf-gcc
|
||||||
@@ -228,7 +228,7 @@ function xtensa-esp32-gcc-toolchain {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function avr-gcc-toolchain {
|
function avr-gcc-toolchain {
|
||||||
if ! type avr-gcc > /dev/null; then
|
if ! type avr-gcc &> /dev/null; then
|
||||||
case ${os} in
|
case ${os} in
|
||||||
Darwin)
|
Darwin)
|
||||||
brew tap osx-cross/avr
|
brew tap osx-cross/avr
|
||||||
@@ -291,7 +291,7 @@ function rx-gcc-toolchain {
|
|||||||
function c-cache {
|
function c-cache {
|
||||||
add_path "${prebuilt}"/ccache/bin
|
add_path "${prebuilt}"/ccache/bin
|
||||||
|
|
||||||
if ! type ccache > /dev/null; then
|
if ! type ccache &> /dev/null; then
|
||||||
case ${os} in
|
case ${os} in
|
||||||
Darwin)
|
Darwin)
|
||||||
brew install ccache
|
brew install ccache
|
||||||
@@ -330,7 +330,7 @@ function binutils {
|
|||||||
mkdir -p "${prebuilt}"/bintools/bin
|
mkdir -p "${prebuilt}"/bintools/bin
|
||||||
add_path "${prebuilt}"/bintools/bin
|
add_path "${prebuilt}"/bintools/bin
|
||||||
|
|
||||||
if ! type objcopy > /dev/null; then
|
if ! type objcopy &> /dev/null; then
|
||||||
case ${os} in
|
case ${os} in
|
||||||
Darwin)
|
Darwin)
|
||||||
brew install binutils
|
brew install binutils
|
||||||
|
|||||||
Reference in New Issue
Block a user