mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
340 B
Bash
15 lines
340 B
Bash
#!/bin/bash
|
|
|
|
rm -rf sysroot && mkdir sysroot
|
|
cmake -DCMAKE_INSTALL_PREFIX="sysroot/" ../
|
|
make install
|
|
this="$(date +%Y-%m-%d_%H_%M_%S)"
|
|
trialdir="srsran_trial_${this}"
|
|
tar="srsran.build-${this}.tgz"
|
|
mkdir ${trialdir}
|
|
tar czf "${trialdir}/$tar" -C "sysroot" .
|
|
md5sum "${trialdir}/$tar" >>${trialdir}/checksums.md5
|
|
|
|
echo "Built ${trialdir}"
|
|
|