1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00

Update package script

This commit is contained in:
winlin 2020-03-29 15:29:07 +08:00
parent c0a8193537
commit 0081525380

View file

@ -120,22 +120,22 @@ ok_msg "start build srs, ARM: $ARM, MIPS: $MIPS, PI: $PI, X86_64: $X86_X64, JOBS
if [ $ARM = YES ]; then if [ $ARM = YES ]; then
( (
cd $work_dir && cd $work_dir &&
./configure --arm --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_machine} && make ./configure --arm --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_name}${os_major_version} && make
) >> $log 2>&1 ) >> $log 2>&1
elif [ $MIPS = YES ]; then elif [ $MIPS = YES ]; then
( (
cd $work_dir && cd $work_dir &&
./configure --mips --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_machine} && make ./configure --mips --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_name}${os_major_version} && make
) >> $log 2>&1 ) >> $log 2>&1
elif [ $PI = YES ]; then elif [ $PI = YES ]; then
( (
cd $work_dir && cd $work_dir &&
./configure --pi --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_machine} && make ./configure --pi --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_name}${os_major_version} && make
) >> $log 2>&1 ) >> $log 2>&1
elif [ $X86_X64 = YES ]; then elif [ $X86_X64 = YES ]; then
( (
cd $work_dir && cd $work_dir &&
./configure --x86-x64 --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_machine} && make ./configure --x86-x64 --jobs=$JOBS --prefix=$INSTALL --build-tag=${os_name}${os_major_version} && make
) >> $log 2>&1 ) >> $log 2>&1
else else
failed_msg "invalid option, must be --x86-x64/--arm/--mips/--pi, see --help"; exit 1; failed_msg "invalid option, must be --x86-x64/--arm/--mips/--pi, see --help"; exit 1;