mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 17:34:56 +00:00
add extended parameter "disable_no_sc" for linuxspi programmer
This commit is contained in:
2
build.sh
2
build.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user