#!/bin/bash -v PATH=/opt/arm/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH cmake .. \ -DCMAKE_TOOLCHAIN_FILE="/home/mooring/build-oa/toolchain.r5-oa.sa" \ -DCMAKE_INCLUDE_PATH="$PWD/../../libmetal/build_r5/lib/include/;/home/mooring/build-oa/psu_cortexr5_0/include" \ -DCMAKE_LIBRARY_PATH="$PWD/../../libmetal/build_r5/usr/local/lib;/home/mooring/build-oa/psu_cortexr5_0/lib" \ -DWITH_APPS=on make DESTDIR=$(pwd) VERBOSE=1 install