summaryrefslogtreecommitdiffstats
path: root/scripts/build-packages.sh
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2019-10-30 20:20:18 +0100
committerAngelo Mantellini <angelo.mantellini@cisco.com>2019-10-30 20:37:14 +0100
commitfc6dfe9f7ee02834ae1e6f56e0aaee36ac3e88dd (patch)
treed5ea33aaa71850d682878345ea666e820803299b /scripts/build-packages.sh
parentfa724b77c4391088ce93de4552657060234d7202 (diff)
[HICN-220] Build for arm64 Ubuntu18
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ie41760070d027d2b28c9eb8b7c27ad5438c746ae
Diffstat (limited to 'scripts/build-packages.sh')
-rw-r--r--scripts/build-packages.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh
index febb69bd4..8c9e6be95 100644
--- a/scripts/build-packages.sh
+++ b/scripts/build-packages.sh
@@ -93,7 +93,10 @@ setup() {
echo DISTRIBUTION: ${PRETTY_NAME}
echo ARCHITECTURE: $(uname -m)
- install_cmake
+ ARCH=`uname -m`
+ if [ "$ARCH" == "x86_64" ] || [ "$ARCH" == "x86" ]; then
+ install_cmake
+ fi
setup_fdio_repo ${DISTRIB_ID}
if [ "${DISTRIB_ID}" == "ubuntu" ]; then