mirror of https://github.com/pvnis/srsRAN_4G.git
Adding custom build target to build osmo-gsm-tester trial
parent
11a8db202a
commit
b1a127a546
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -rf sysroot && mkdir sysroot
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX="sysroot/" ../
|
||||||
|
make install
|
||||||
|
this="$(date +%Y-%m-%d_%H_%M_%S)"
|
||||||
|
trialdir="srslte_trial_${this}"
|
||||||
|
tar="srslte.build-${this}.tgz"
|
||||||
|
mkdir ${trialdir}
|
||||||
|
tar czf "${trialdir}/$tar" -C "sysroot" .
|
||||||
|
md5sum "${trialdir}/$tar" >>${trialdir}/checksums.md5
|
||||||
|
|
||||||
|
echo "Built ${trialdir}"
|
||||||
|
|
Loading…
Reference in New Issue