Skip to content

Commit

Permalink
compile hcxdumptool with headless support
Browse files Browse the repository at this point in the history
  • Loading branch information
N3ttX committed Sep 2, 2023
1 parent abf7c7b commit faeb318
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions finalize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ TEMPFILE=$(mktemp)

make-git()
{
# set environment variable for ALL software, some might need it and it's much simpler to just universally have it
export ARCH=arm

### Software-specific settings go in this section
# compile hcxdumptool without GPS and refresh-display support, see https://github.com/ZerBea/hcxdumptool/issues/301#issuecomment-1508011763
if [ "$2" = "hcxdumptool"]; do
cd \"$2\"; sed -i '/DSTATUSOUT/ s/./#&/' Makefile
fi

# clone the repo, compile and install
sudo -u ${NON_ROOT_USER} bash -c "cd ~;git clone \"$1\";cd \"$2\";make;sudo make install"
}

Expand Down

0 comments on commit faeb318

Please sign in to comment.