From 7d76ee9a6de986d8dfebd0ad17666d4d37ed7c44 Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Fri, 18 Feb 2005 01:17:45 +0000 Subject: [PATCH] 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 --- makehdimage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makehdimage b/makehdimage index a7c69ea9da..4e2336e0de 100755 --- a/makehdimage +++ b/makehdimage @@ -79,8 +79,8 @@ BEOS_ADD_ONS_INPUT_DEVICES="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 \