|
|
@ -68,13 +68,7 @@ mkdir -p $CURDIR/output |
|
|
|
make DESTDIR=$CURDIR/output install |
|
|
|
|
|
|
|
cd $CURDIR/output |
|
|
|
tar cvzf ./librealsense2_pyrealsense2_aarch64.tar.gz ./* |
|
|
|
tar cvzf $CURDIR/librealsense2_pyrealsense2_aarch64.tar.gz ./* |
|
|
|
|
|
|
|
cd $CURDIR |
|
|
|
read -p "Remove generated build files (incl. toolchain, librealsense source and Raspi libraries)? " -n 1 -r |
|
|
|
echo # (optional) move to a new line |
|
|
|
if [[ $REPLY =~ ^[Yy]$ ]] |
|
|
|
then |
|
|
|
rm -rf ./sysroot ./tools ./librealsense ./output |
|
|
|
fi |
|
|
|
|
|
|
|
rm -rf ./sysroot ./tools ./librealsense ./output ./sysroot-relativelinks.py ./toolchain.cmake |
|
|
|