mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-06-08 07:45:00 +08:00
vendor the compiler toolchain (#2342)
This commit is contained in:
7
setup.sh
7
setup.sh
@@ -8,8 +8,8 @@ PLATFORM=$(uname -s)
|
||||
|
||||
echo "installing dependencies"
|
||||
if [[ $PLATFORM == "Darwin" ]]; then
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
brew install --cask gcc-arm-embedded
|
||||
# pass
|
||||
:
|
||||
elif [[ $PLATFORM == "Linux" ]]; then
|
||||
# for AGNOS since we clear the apt lists
|
||||
if [[ ! -d /"var/lib/apt/" ]]; then
|
||||
@@ -18,9 +18,8 @@ elif [[ $PLATFORM == "Linux" ]]; then
|
||||
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
curl ca-certificates \
|
||||
make g++ git libnewlib-arm-none-eabi \
|
||||
make g++ git \
|
||||
libusb-1.0-0 \
|
||||
gcc-arm-none-eabi \
|
||||
python3-dev python3-pip python3-venv
|
||||
else
|
||||
echo "WARNING: unsupported platform. skipping apt/brew install."
|
||||
|
||||
Reference in New Issue
Block a user