aboutsummaryrefslogtreecommitdiff
path: root/zephyr-upstream
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2021-04-14 11:15:01 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2021-04-14 11:15:01 +0300
commitc5d4bf231a8d5b5b4f207e4d867b8c83630292dc (patch)
treefe91772cf4dcbe7d436358b4733ebba26cb7f46e /zephyr-upstream
parentad61b84b4752a613767ab2512ea62cc1054ebbe0 (diff)
zephyr-upstream: With Ubuntu 20.04, we can rely on more distro packages.
Similar to change done to zephyr-net job. Change-Id: I946be5cc93570b3b4eefcd7d412467836ae7c09d Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'zephyr-upstream')
-rwxr-xr-xzephyr-upstream/builders.sh22
1 files changed, 2 insertions, 20 deletions
diff --git a/zephyr-upstream/builders.sh b/zephyr-upstream/builders.sh
index 4e5d97ba01..e4b142893b 100755
--- a/zephyr-upstream/builders.sh
+++ b/zephyr-upstream/builders.sh
@@ -11,32 +11,14 @@ sudo apt-get -q=2 update
sudo apt-get -q=2 -y install git ninja-build g++ gperf python3-ply \
gcc-arm-none-eabi rsync device-tree-compiler \
python3-pip python3-serial python3-setuptools python3-wheel \
- python3-requests util-linux rename srecord protobuf-compiler python3-protobuf
+ python3-requests python3-pyelftools util-linux rename srecord \
+ protobuf-compiler python3-protobuf
set -ex
-# pip as shipped by distro may be not up to date enough to support some
-# quirky PyPI packages, specifically cmake was caught like that.
-sudo pip3 install --upgrade pip
-
sudo pip3 install west
west --version
-# Distro package is too old for Zephyr
-sudo pip3 install pyelftools
-
-# Pre-installed CMake is too old for the latest Zephyr
-# Recent recommendation to users is to install it via PyPI, let'd do the same
-sudo pip3 install cmake
-#cmake_version=3.9.5
-#wget -q https://cmake.org/files/v3.9/cmake-${cmake_version}-Linux-x86_64.tar.gz
-#tar xf cmake-${cmake_version}-Linux-x86_64.tar.gz
-#cp -a cmake-${cmake_version}-Linux-x86_64/bin/* /usr/local/bin/
-#cp -a cmake-${cmake_version}-Linux-x86_64/share/* /usr/local/share/
-#rm -rf cmake-${cmake_version}-Linux-x86_64
-#cmake -version
-
-
git clone -b ${BRANCH} https://github.com/zephyrproject-rtos/zephyr.git
west init -l zephyr/
west update