Compare commits
2 Commits
a5c7cc1a0b
...
55204dc444
Author | SHA1 | Date |
---|---|---|
Leah Rowe | 55204dc444 | |
Leah Rowe | 71f8e6530a |
|
@ -6,3 +6,4 @@ payload_seabios="y"
|
|||
payload_memtest="y"
|
||||
grub_scan_disk="ahci"
|
||||
status="broken" # TODO: VCC3P patch
|
||||
release="n"
|
||||
|
|
|
@ -6,3 +6,4 @@ payload_seabios="y"
|
|||
payload_memtest="y"
|
||||
grub_scan_disk="ahci"
|
||||
status="broken" # TODO: VCC3P patch
|
||||
release="n"
|
||||
|
|
|
@ -23,13 +23,14 @@ eval "$(setvars "" CONFIG_BOARD_DELL_E6400 CONFIG_HAVE_MRC CONFIG_HAVE_ME_BIN \
|
|||
CONFIG_HAVE_REFCODE_BLOB CONFIG_REFCODE_BLOB_FILE)"
|
||||
|
||||
threads=
|
||||
set | grep LBMK_THREADS 1>/dev/null 2>/dev/null || threads=$(nproc) || :
|
||||
[ -z "$threads" ] && threads=$LBMK_THREADS
|
||||
[ -z "$threads" ] && threads=1 # LBMK_THREADS not set, and nproc failed
|
||||
set | grep LBMK_THREADS 1>/dev/null 2>/dev/null && threads="$LBMK_THREADS"
|
||||
[ -z "$threads" ] && threads=1
|
||||
|
||||
expr "X$threads" : "X-\{0,1\}[0123456789][0123456789]*$" \
|
||||
1>/dev/null 2>/dev/null || threads=1 # user specified a non-integer
|
||||
|
||||
export LBMK_THREADS="$threads"
|
||||
|
||||
items()
|
||||
{
|
||||
rval=1
|
||||
|
|
Loading…
Reference in New Issue