musikcube/script/archive-rpi.sh

10 lines
235 B
Bash
Raw Normal View History

2019-01-13 19:37:02 +00:00
#!/bin/sh
SCRIPT_DIR=`dirname "$0"`
2019-01-13 19:38:09 +00:00
rm -rf bin
${SCRIPT_DIR}/clean-nix.sh
2020-02-15 07:37:47 +00:00
cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=armhf -DDEB_PLATFORM=rpi -DDEB_DISTRO=buster -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
2019-01-13 19:37:02 +00:00
make -j2
cpack