blob: 6c44324f9c61cc4bfc197970c36624f52d1d8135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# Automatically run the make-zip-file process
if [ ! -e 'make_zip.sh' ]; then
echo 'Are you running this from the images/ directory?'
exit 1
fi
if [ -e 'build' ]; then
echo 'Please remove build subdirectory before proceeding.'
exit 1
fi
mkdir build
cd build
cmake .. -DCPACK_GENERATOR=ZIP -DUHD_RELEASE_MODE="$1" ..
make package
mv uhd-images*.zip ..
cd ..
rm -r build
|