mirror of https://github.com/parazyd/arm-sdk.git
makeopts fix
This commit is contained in:
parent
d1a6c56bd5
commit
2e9b8fb775
2
config
2
config
|
|
@ -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
10
sdk
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue