mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix the CPU count on Linux.
This commit is contained in:
@@ -43,7 +43,7 @@ def load():
|
|||||||
if count > cpus:
|
if count > cpus:
|
||||||
cpus = int(count)
|
cpus = int(count)
|
||||||
if cpus > 0:
|
if cpus > 0:
|
||||||
smp_mflags = '-j%d' % (cpus)
|
smp_mflags = '-j%d' % (cpus + 1)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
if uname[4].startswith('arm'):
|
if uname[4].startswith('arm'):
|
||||||
|
Reference in New Issue
Block a user