makeopts fix

This commit is contained in:
parazyd 2017-03-22 14:15:03 +01:00
parent d1a6c56bd5
commit 2e9b8fb775
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 8 additions and 4 deletions

2
config
View File

@ -23,7 +23,7 @@
## options for `make` when building kernel
MAKEOPTS="-j$(expr $(grep -c 'processor' /proc/cpuinfo) + 1)"
MAKEOPTS="-j$(( $(grep -c 'processor' /proc/cpuinfo) + 1 ))"
## custom toolchain (armv7+armhf; gcc 4.9.3)

10
sdk
View File

@ -82,11 +82,11 @@ load() {
)
os_map=(
"devuan" "$R/lib/libdevuansdk/libdevuansdk"
"devuan" "$R/lib/libdevuansdk/libdevuansdk"
)
blend_map=(
"dowse" "https://github.com/dyne/dowse/raw/master/ops/dowse.blend"
"dowse" "https://github.com/dyne/dowse/raw/master/ops/dowse.blend"
)
boardlib="${board_map[$dev]}"
@ -107,7 +107,11 @@ load() {
source $boardlib && act "$device_name build script loaded"
source $oslib
[[ -f $blendlib ]] && source $blendlib && act "$os blend loaded" && export BLEND=1
[[ -f $blendlib ]] && {
source $blendlib || zerr
act "$os blend loaded"
export BLEND=1
}
workdir="$R/tmp/${os}-${arch}-build"
strapdir="$workdir/bootstrap"