Use parallel compilation to speed up release build

This commit is contained in:
Jouni Malinen 2008-12-20 20:42:39 +02:00
parent 798afa8162
commit 5719f73c58

View file

@ -104,7 +104,7 @@ CFLAGS += -DCONFIG_DEBUG_FILE
EOF EOF
# First, build the Windows service & registry version and rename it # First, build the Windows service & registry version and rename it
make windows-bin make -j2 windows-bin
mv wpa_supplicant.exe wpasvc.exe mv wpa_supplicant.exe wpasvc.exe
# Then, build "the standard" wpa_supplicant.exe # Then, build "the standard" wpa_supplicant.exe
@ -113,7 +113,7 @@ CONFIG_MAIN=main
CONFIG_BACKEND=file CONFIG_BACKEND=file
EOF EOF
make windows-bin make -j2 windows-bin
for i in COPYING; do for i in COPYING; do
unix2dos < ../$i > ../../"$WDIR"/$i unix2dos < ../$i > ../../"$WDIR"/$i
@ -127,7 +127,7 @@ EOF
cd wpa_gui-qt4 cd wpa_gui-qt4
qmake -spec win32-x-g++ qmake -spec win32-x-g++
make -C icons make -C icons
make make -j2
cp release/wpa_gui.exe ../../../"$WDIR" cp release/wpa_gui.exe ../../../"$WDIR"
cd ../../.. cd ../../..
rm -rf "$PDIR" rm -rf "$PDIR"