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
2015-09-23 10:22:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a8829e0a8b9e9a9b2ac6f12bf39e3907bdcaa853
a8829e0a
1 parent
534a8c9f
support build on pi or cubie.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
9 行增加
和
6 行删除
trunk/auto/depends.sh
trunk/auto/options.sh
trunk/auto/depends.sh
查看文件 @
a8829e0
...
...
@@ -362,12 +362,15 @@ fi
#####################################################################################
# user must specifies something what a fuck, we suppport following os:
# centos/ubuntu/osx,
# embeded system, for example, mips or arm,
# cross build for embeded system, for example, mips or arm,
# directly build on arm/mips, for example, pi or cubie,
# export srs-librtmp
# others is invalid.
if
[[
$OS_IS_UBUNTU
=
NO
&&
$OS_IS_CENTOS
=
NO
&&
$OS_IS_OSX
=
NO
&&
$SRS_EMBEDED_CPU
=
NO
&&
$SRS_EXPORT_LIBRTMP_PROJECT
=
NO
]]
;
then
echo
"what a fuck, os not supported."
exit
1
if
[[
$OS_IS_UBUNTU
=
NO
&&
$OS_IS_CENTOS
=
NO
&&
$OS_IS_OSX
=
NO
&&
$SRS_EXPORT_LIBRTMP_PROJECT
=
NO
]]
;
then
if
[[
$SRS_PI
=
NO
&&
$SRS_CUBIE
=
NO
&&
$SRS_EMBEDED_CPU
=
NO
]]
;
then
echo
"what a fuck, os not supported."
exit
1
fi
fi
#####################################################################################
...
...
@@ -409,6 +412,7 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
(
rm -rf
${
SRS_OBJS
}
/st-1.9
&&
cd
${
SRS_OBJS
}
&&
unzip -q ../3rdparty/st-1.9.zip
&&
cd
st-1.9
&&
chmod +w
*
&&
patch -p0 < ../../3rdparty/patches/1.st.arm.patch
&&
patch -p0 < ../../3rdparty/patches/3.st.osx.kqueue.patch
&&
patch -p0 < ../../3rdparty/patches/4.st.disable.examples.patch
&&
make
${
_ST_MAKE
}
${
_ST_EXTRA_CFLAGS
}
&&
...
...
trunk/auto/options.sh
查看文件 @
a8829e0
...
...
@@ -100,8 +100,7 @@ SRS_DISABLE_ALL=NO
SRS_ENABLE_ALL
=
NO
#
################################################################
# calc
# whether embed cpu, arm/mips
# whether cross build for embed cpu, arm/mips
SRS_EMBEDED_CPU
=
NO
#####################################################################################
...
...
请
注册
或
登录
后发表评论