@@ -17,7 +17,7 @@ export LIBUSB_DIR=`pwd`
1717./configure --prefix=${PREFIX} --with-pic --disable-udev --enable-static --disable-shared --host=${CROSS_COMPILE}
1818make distclean
1919./configure --prefix=${PREFIX} --with-pic --disable-udev --enable-static --disable-shared --host=${CROSS_COMPILE}
20- make
20+ make -j $( nproc )
2121make install
2222
2323export PKG_CONFIG_PATH=$PREFIX /lib/pkgconfig
4141 PKG_CONFIG_PATH=" $PREFIX /lib/pkgconfig" ./configure --prefix=${PREFIX} --enable-static --disable-shared --host=${CROSS_COMPILE}
4242 make distclean
4343 PKG_CONFIG_PATH=" $PREFIX /lib/pkgconfig" ./configure --prefix=${PREFIX} --enable-static --disable-shared --host=${CROSS_COMPILE}
44- make
44+ make -j $( nproc )
4545 make install
4646fi
4747
@@ -59,15 +59,15 @@ if [[ $CROSS_COMPILE == "x86_64-apple-darwin13" ]]; then
5959fi
6060
6161cmake -DCMAKE_C_COMPILER=$CROSS_COMPILER -DCMAKE_CXX_COMPILER=$CROSS_COMPILER_CXX -DCMAKE_INSTALL_PREFIX=" $PREFIX " $CMAKE_EXTRA_FLAG -DLIBUSB_INCLUDE_DIR=" $PREFIX /include/libusb-1.0" -DLIBFTDI_LIBRARY_DIRS=" $PREFIX /lib" -DLIBUSB_LIBRARIES=" usb-1.0" ../
62- make
62+ make -j $( nproc )
6363make install
6464
6565cd /opt/lib/libelf-0.8.13
6666export LIBELF_DIR=` pwd`
6767./configure --disable-shared --host=$CROSS_COMPILE --prefix=${PREFIX}
6868make distclean
6969./configure --disable-shared --host=$CROSS_COMPILE --prefix=${PREFIX}
70- make
70+ make -j $( nproc )
7171make install
7272
7373echo " *****************"
@@ -82,15 +82,15 @@ export NCURSES_DIR=`pwd`
8282./configure $EXTRAFLAGS --disable-shared --without-debug --without-ada --with-termlib --enable-termcap --without-manpages --without-progs --without-tests --host=$CROSS_COMPILE --prefix=${PREFIX}
8383make distclean
8484./configure $EXTRAFLAGS --disable-shared --without-debug --without-ada --with-termlib --enable-termcap --without-manpages --without-progs --without-tests --host=$CROSS_COMPILE --prefix=${PREFIX}
85- make
85+ make -j $( nproc )
8686make install.libs
8787
8888cd /opt/lib/readline-8.0
8989export READLINE_DIR=` pwd`
9090./configure --prefix=$PREFIX --disable-shared --host=$CROSS_COMPILE
9191make distclean
9292./configure --prefix=$PREFIX --disable-shared --host=$CROSS_COMPILE
93- make
93+ make -j $( nproc )
9494make install-static
9595
9696if [[ $CROSS_COMPILE != " i686-w64-mingw32" && $CROSS_COMPILE != " x86_64-apple-darwin13" ]] ; then
@@ -100,7 +100,7 @@ cd /opt/lib/eudev-3.2.10
100100make distclean
101101./autogen.sh
102102./configure --enable-static --disable-gudev --disable-introspection --disable-shared --disable-blkid --disable-kmod --disable-manpages --prefix=$PREFIX --host=${CROSS_COMPILE}
103- make
103+ make -j $( nproc )
104104make install
105105fi
106106
@@ -111,5 +111,5 @@ export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
111111make distclean
112112./bootstrap
113113./configure --prefix=$PREFIX --enable-static --disable-shared --host=$CROSS_COMPILE
114- make
114+ make -j $( nproc )
115115make install
0 commit comments