Added autodetection of SMP machines, so that it sets the -j argument to jam appropriately.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11408 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Nathan Whitehorn 2005-02-18 01:17:45 +00:00
parent 76fa831165
commit 7d76ee9a6d

View File

@ -79,8 +79,8 @@ BEOS_ADD_ONS_INPUT_DEVICES="<input>keyboard"
echo "Building executables and libraries..."
jam -q rc resattr kernel boot_loader config_manager pci isa ide scsi \
ide_isa bfs blkman fast_log ide_adapter locked_pool \
jam -j$(sysinfo -cpu | head -c 2) -q rc resattr kernel boot_loader config_manager \
pci isa ide scsi ide_isa bfs blkman fast_log ide_adapter locked_pool \
scsi_periph intel keyboard scsi_dsk scsi_cd \
rld.so kernel_fortune consoled \
$BEOS_BIN $BEOS_SYSTEM_LIB $BEOS_SYSTEM_SERVERS \