message: [setup] allow specify cmake options via OS env
diff: -#!/bin/sh
  +#!/bin/bash
  #
  # Copyright (c) 2017, The OpenThread Authors.
  # All rights reserved.
  readonly OTBR_TOP_BUILDDIR="${BUILD_DIR}/otbr"
  readonly OTBR_TOP_SRCDIR="$PWD"
  +readonly OTBR_OPTIONS="${OTBR_OPTIONS:-}"
  otbr_uninstall()
  {
  @@ -49,11 +50,18 @@ otbr_uninstall()
  otbr_install()
  {
  - local otbr_options=(
  + local otbr_options=()
  +
  + if [[ ${OTBR_OPTIONS} ]]; then
  + read -r -a otbr_options <<< "${OTBR_OPTIONS}"
  + fi
  +
  + otbr_options=(
  "-DBUILD_TESTING=OFF"
  "-DCMAKE_INSTALL_PREFIX=/usr"
  "-DOTBR_DBUS=ON"
  "-DOTBR_WEB=ON"
  + "${otbr_options[@]}"
  )
  (mkdir -p "${OTBR_TOP_BUILDDIR}" \
  