Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-04-28 19:01:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
60f319de0c1fad190bdabd7221c26c81a8cdb6dc
60f319de
1 parent
e85a46f8
fix bug of package script, donot default os
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
trunk/scripts/package.sh
trunk/scripts/package.sh
查看文件 @
60f319d
...
...
@@ -10,7 +10,7 @@ echo "通用打包脚本,--help查看参数"
INSTALL
=
/usr/local/srs
# whether build for arm, only for ubuntu12.
help
=
NO
X86_64
=
NO
X86_
X
64
=
NO
ARM
=
NO
PI
=
NO
...
...
@@ -31,9 +31,9 @@ do
case
"
$option
"
in
--help
)
help
=
yes
;;
--x86-
64
)
X86_64
=
YES
;;
--x86-
x64
)
X86_X64
=
YES
;;
--arm
)
ARM
=
YES
;;
--pi
)
PI
=
NO
;;
--pi
)
PI
=
YES
;;
*
)
echo
"
$0
: error: invalid option
\"
$option
\"
, @see
$0
--help"
...
...
@@ -46,7 +46,7 @@ if [ $help = yes ]; then
--help print this message
--x86-
64 for x86-
64 platform, configure/make/package.
--x86-
x64 for x86-x
64 platform, configure/make/package.
--arm for arm cross-build platform, configure/make/package.
--pi for pi platform, configure/make/package.
END
...
...
@@ -98,7 +98,7 @@ elif [ $PI = YES ]; then
cd
$work_dir
&&
./configure --pi --prefix
=
$INSTALL
&&
make
)
>>
$log
2>&1
elif
[
$X86_64
=
YES
]
;
then
elif
[
$X86_
X
64
=
YES
]
;
then
(
cd
$work_dir
&&
./configure --x86-x64 --prefix
=
$INSTALL
&&
make
...
...
请
注册
或
登录
后发表评论