Skip to content

Commit c2cf207

Browse files
committed
show make logs
1 parent 67aa948 commit c2cf207

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

build.sh

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ if [ $is_x86 -eq 1 ]; then
213213
cd $BUILD_DIR/yasm*
214214
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
215215
[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --bindir=$BIN_DIR
216-
make -j $jval >> make.log 2>&1
216+
make -j $jval
217217
make install
218218
fi
219219

@@ -222,29 +222,29 @@ if [ $is_x86 -eq 1 ]; then
222222
cd $BUILD_DIR/nasm*
223223
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
224224
[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --bindir=$BIN_DIR
225-
make -j $jval >> make.log 2>&1
225+
make -j $jval
226226
make install
227227
fi
228228

229229
echo "*** Building OpenSSL ***"
230230
cd $BUILD_DIR/openssl*
231231
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
232232
PATH="$BIN_DIR:$PATH" ./config --prefix=$TARGET_DIR
233-
PATH="$BIN_DIR:$PATH" make -j $jval >> make.log 2>&1
233+
PATH="$BIN_DIR:$PATH" make -j $jval
234234
make install
235235

236236
echo "*** Building zlib ***"
237237
cd $BUILD_DIR/zlib*
238238
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
239239
[ ! -f config.status ] && PATH="$BIN_DIR:$PATH" ./configure --prefix=$TARGET_DIR
240-
PATH="$BIN_DIR:$PATH" make -j $jval >> make.log 2>&1
240+
PATH="$BIN_DIR:$PATH" make -j $jval
241241
make install
242242

243243
echo "*** Building x264 ***"
244244
cd $BUILD_DIR/x264*
245245
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
246246
[ ! -f config.status ] && PATH="$BIN_DIR:$PATH" ./configure --prefix=$TARGET_DIR --enable-static --disable-shared --disable-opencl --enable-pic
247-
PATH="$BIN_DIR:$PATH" make -j $jval >> make.log 2>&1
247+
PATH="$BIN_DIR:$PATH" make -j $jval
248248
make install
249249

250250
echo "*** Building x265 ***"
@@ -253,37 +253,37 @@ cd build/linux
253253
[ $rebuild -eq 1 ] && find . -mindepth 1 ! -name 'make-Makefiles.bash' -and ! -name 'multilib.sh' -exec rm -r {} +
254254
PATH="$BIN_DIR:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$TARGET_DIR" -DENABLE_SHARED:BOOL=OFF -DSTATIC_LINK_CRT:BOOL=ON -DENABLE_CLI:BOOL=OFF ../../source
255255
sed -i 's/-lgcc_s/-lgcc_eh/g' x265.pc
256-
make -j $jval >> make.log 2>&1
256+
make -j $jval
257257
make install
258258

259259
echo "*** Building fdk-aac ***"
260260
cd $BUILD_DIR/fdk-aac*
261261
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
262262
autoreconf -fiv
263263
[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --disable-shared
264-
make -j $jval >> make.log 2>&1
264+
make -j $jval
265265
make install
266266

267267
echo "*** Building harfbuzz ***"
268268
cd $BUILD_DIR/harfbuzz-*
269269
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
270270
./configure --prefix=$TARGET_DIR --disable-shared --enable-static
271-
make -j $jval >> make.log 2>&1
271+
make -j $jval
272272
make install
273273

274274
echo "*** Building fribidi ***"
275275
cd $BUILD_DIR/fribidi-*
276276
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
277277
./configure --prefix=$TARGET_DIR --disable-shared --enable-static --disable-docs
278-
make -j $jval >> make.log 2>&1
278+
make -j $jval
279279
make install
280280

281281
echo "*** Building libass ***"
282282
cd $BUILD_DIR/libass-*
283283
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
284284
./autogen.sh
285285
./configure --prefix=$TARGET_DIR --disable-shared
286-
make -j $jval >> make.log 2>&1
286+
make -j $jval
287287
make install
288288

289289
echo "*** Building mp3lame ***"
@@ -292,94 +292,94 @@ cd $BUILD_DIR/lame*
292292
uname -a | grep -q 'aarch64' && lame_build_target="--build=arm-linux" || lame_build_target=''
293293
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
294294
[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --enable-nasm --disable-shared $lame_build_target
295-
make >> make.log 2>&1
295+
make
296296
make install
297297

298298
echo "*** Building opus ***"
299299
cd $BUILD_DIR/opus*
300300
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
301301
[ ! -f config.status ] && ./configure --prefix=$TARGET_DIR --disable-shared
302-
make >> make.log 2>&1
302+
make
303303
make install
304304

305305
echo "*** Building libvpx ***"
306306
cd $BUILD_DIR/libvpx*
307307
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
308308
[ ! -f config.status ] && PATH="$BIN_DIR:$PATH" ./configure --prefix=$TARGET_DIR --disable-examples --disable-unit-tests --enable-pic
309-
PATH="$BIN_DIR:$PATH" make -j $jval >> make.log 2>&1
309+
PATH="$BIN_DIR:$PATH" make -j $jval
310310
make install
311311

312312
echo "*** Building librtmp ***"
313313
cd $BUILD_DIR/rtmpdump-*
314314
cd librtmp
315-
[ $rebuild -eq 1 ] && make distclean >> make.log 2>&1 || true
315+
[ $rebuild -eq 1 ] && make distclean || true
316316

317317
# there's no configure, we have to edit Makefile directly
318318
sed -i "/INC=.*/d" ./Makefile # Remove INC if present from previous run.
319319
sed -i "s/prefix=.*/prefix=${TARGET_DIR_SED}\nINC=-I\$(prefix)\/include/" ./Makefile
320320
sed -i "s/SHARED=.*/SHARED=no/" ./Makefile
321-
make install_base >> make.log 2>&1
321+
make install_base
322322

323323
echo "*** Building libsoxr ***"
324324
cd $BUILD_DIR/soxr-*
325325
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
326326
PATH="$BIN_DIR:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$TARGET_DIR" -DBUILD_SHARED_LIBS:bool=off -DWITH_OPENMP:bool=off -DBUILD_TESTS:bool=off
327-
make -j $jval >> make.log 2>&1
327+
make -j $jval
328328
make install
329329

330330
echo "*** Building libvidstab ***"
331331
cd $BUILD_DIR/vid.stab-release-*
332332
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
333333
sed -i "s/vidstab SHARED/vidstab STATIC/" ./CMakeLists.txt
334334
PATH="$BIN_DIR:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$TARGET_DIR"
335-
make -j $jval >> make.log 2>&1
335+
make -j $jval
336336
make install
337337

338338
echo "*** Building openjpeg ***"
339339
cd $BUILD_DIR/openjpeg-*
340340
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
341341
PATH="$BIN_DIR:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$TARGET_DIR" -DBUILD_SHARED_LIBS:bool=off
342-
make -j $jval >> make.log 2>&1
342+
make -j $jval
343343
make install
344344

345345
echo "*** Building zimg ***"
346346
cd $BUILD_DIR/zimg-release-*
347347
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
348348
./autogen.sh
349349
./configure --enable-static --prefix=$TARGET_DIR --disable-shared
350-
make -j $jval >> make.log 2>&1
350+
make -j $jval
351351
make install
352352

353353
echo "*** Building libwebp ***"
354354
cd $BUILD_DIR/libwebp*
355355
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
356356
./autogen.sh
357357
./configure --prefix=$TARGET_DIR --disable-shared
358-
make -j $jval >> make.log 2>&1
358+
make -j $jval
359359
make install
360360

361361
echo "*** Building libvorbis ***"
362362
cd $BUILD_DIR/vorbis*
363363
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
364364
./autogen.sh
365365
./configure --prefix=$TARGET_DIR --disable-shared
366-
make -j $jval >> make.log 2>&1
366+
make -j $jval
367367
make install
368368

369369
echo "*** Building libogg ***"
370370
cd $BUILD_DIR/ogg*
371371
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
372372
./autogen.sh
373373
./configure --prefix=$TARGET_DIR --disable-shared
374-
make -j $jval >> make.log 2>&1
374+
make -j $jval
375375
make install
376376

377377
echo "*** Building libspeex ***"
378378
cd $BUILD_DIR/speex*
379379
[ $rebuild -eq 1 -a -f Makefile ] && make distclean || true
380380
./autogen.sh
381381
./configure --prefix=$TARGET_DIR --disable-shared
382-
make -j $jval >> make.log 2>&1
382+
make -j $jval
383383
make install
384384

385385
# FFMpeg

0 commit comments

Comments
 (0)