dump1090: Update to version 3.7.1

Repository was moved.

Also cleaned up Makefile slightly.

Ran init script through shellcheck.

Added PKG_BUILD_PARALLEL for faster compilation.

Added several CFLAGS and LDFLAGS for smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from f3245e6c7d)
This commit is contained in:
Rosen Penev
2019-07-30 14:52:45 -07:00
parent f3473adf5f
commit 11e9b5e969
2 changed files with 17 additions and 12 deletions
+4 -2
View File
@@ -13,7 +13,9 @@ append_arg() {
local val
config_get val "$cfg" "$var"
[ -n "$val" -o -n "$def" ] && procd_append_param command $opt "${val:-$def}"
if [ -n "$val" ] || [ -n "$def" ]; then
procd_append_param command "$opt" "${val:-$def}"
fi
}
append_bool() {
@@ -82,7 +84,7 @@ start_instance() {
append_arg "$cfg" html_dir "--html-dir"
append_arg "$cfg" write_json "--write-json"
config_get aux "$cfg" "write_json"
[ -n "$aux" ] && mkdir -p $aux
[ -n "$aux" ] && mkdir -p "$aux"
append_arg "$cfg" write_json_every "--write-json-every"
append_arg "$cfg" json_location_accuracy "--json-location-accuracy"
append_bool "$cfg" oversample "--oversample"