add extended parameter "disable_no_sc" for linuxspi programmer

This commit is contained in:
Shunichi Wakabayashi
2022-09-20 01:32:12 +09:00
parent 7087fd9f3e
commit be40d3b260
2 changed files with 50 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ case "${ostype}" in
# try to find out whether this is an Embedded Linux
# platform (e.g. Raspberry Pi)
machine=$(uname -m)
if expr "${machine}" : 'arm' >/dev/null
if expr "${machine}" : '^\(arm\|aarch\)' >/dev/null
then
extra_enable="${extra_enable} -D HAVE_LINUXGPIO=ON -D HAVE_LINUXSPI=ON"
fi