Merge pull request #1240 from mcuee/build_sh_linux
To work around Issue #1107
This commit is contained in:
commit
eba5cea8e1
2
build.sh
2
build.sh
|
@ -39,7 +39,7 @@ case "${ostype}" in
|
||||||
machine=$(uname -m)
|
machine=$(uname -m)
|
||||||
if expr "${machine}" : '^\(arm\|aarch\)' >/dev/null
|
if expr "${machine}" : '^\(arm\|aarch\)' >/dev/null
|
||||||
then
|
then
|
||||||
extra_enable="${extra_enable} -D HAVE_LINUXGPIO=ON -D HAVE_LINUXSPI=ON"
|
extra_enable="${extra_enable} -D HAVE_LINUXGPIO=1 -D HAVE_LINUXSPI=1"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue