提交 d1f89c4c authored 作者: Andrey Volk's avatar Andrey Volk

Merge pull request #1778 in FS/freeswitch from armhf to master

* commit '689a3768':
  FS-11972: [Build-System] Add Raspberry Pi support.
差异被折叠。
...@@ -193,8 +193,9 @@ create_dsc () { ...@@ -193,8 +193,9 @@ create_dsc () {
set -e set -e
local OPTIND OPTARG modules_conf="" modules_list="" speed="normal" suite_postfix="" suite_postfix_p=false zl=9 local OPTIND OPTARG modules_conf="" modules_list="" speed="normal" suite_postfix="" suite_postfix_p=false zl=9
local modules_add="" local modules_add=""
while getopts 'f:m:p:s:u:z:' o "$@"; do while getopts 'a:f:m:p:s:u:z:' o "$@"; do
case "$o" in case "$o" in
a) avoid_mods_arch="$OPTARG";;
f) modules_conf="$OPTARG";; f) modules_conf="$OPTARG";;
m) modules_list="$OPTARG";; m) modules_list="$OPTARG";;
p) modules_add="$modules_add $OPTARG";; p) modules_add="$modules_add $OPTARG";;
...@@ -225,7 +226,7 @@ create_dsc () { ...@@ -225,7 +226,7 @@ create_dsc () {
bootstrap_args="$bootstrap_args -p${x}" bootstrap_args="$bootstrap_args -p${x}"
done done
fi fi
(cd debian && ./bootstrap.sh -c $distro $bootstrap_args) (cd debian && ./bootstrap.sh -a "$avoid_mods_arch" -c $distro $bootstrap_args)
case "$speed" in case "$speed" in
paranoid) sed -i ./debian/rules \ paranoid) sed -i ./debian/rules \
-e '/\.stamp-bootstrap:/{:l2 n; /\.\/bootstrap.sh -j/{s/ -j//; :l3 n; b l3}; b l2};' ;; -e '/\.stamp-bootstrap:/{:l2 n; /\.\/bootstrap.sh -j/{s/ -j//; :l3 n; b l3}; b l2};' ;;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论