mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support build on pi and cubie
This commit is contained in:
parent
a8829e0a8b
commit
7dcdb18588
5 changed files with 16 additions and 16 deletions
|
@ -101,7 +101,7 @@ SRS_ENABLE_ALL=NO
|
|||
#
|
||||
################################################################
|
||||
# whether cross build for embed cpu, arm/mips
|
||||
SRS_EMBEDED_CPU=NO
|
||||
SRS_CROSS_BUILD=NO
|
||||
|
||||
#####################################################################################
|
||||
# menu
|
||||
|
@ -363,10 +363,10 @@ function apply_user_presets() {
|
|||
|
||||
# whether embeded cpu.
|
||||
if [ $SRS_ARM_UBUNTU12 = YES ]; then
|
||||
SRS_EMBEDED_CPU=YES
|
||||
SRS_CROSS_BUILD=YES
|
||||
fi
|
||||
if [ $SRS_MIPS_UBUNTU12 = YES ]; then
|
||||
SRS_EMBEDED_CPU=YES
|
||||
SRS_CROSS_BUILD=YES
|
||||
fi
|
||||
|
||||
# all disabled.
|
||||
|
@ -879,7 +879,7 @@ function check_option_conflicts() {
|
|||
|
||||
# check embeded(arm/mips), if embeded enabled, only allow st/ssl/librtmp,
|
||||
# user should disable all other features
|
||||
if [ $SRS_EMBEDED_CPU = YES ]; then
|
||||
if [ $SRS_CROSS_BUILD = YES ]; then
|
||||
if [ $SRS_FFMPEG_TOOL = YES ]; then echo "ffmpeg for arm is not available, see: ./configure --help"; __check_ok=NO; fi
|
||||
if [ $SRS_RESEARCH = YES ]; then echo "research for arm is not available, see: ./configure --help"; __check_ok=NO; fi
|
||||
if [ $SRS_GPERF = YES ]; then echo "gperf for arm is not available, see: ./configure --help"; __check_ok=NO; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue