Bump toolchain patch
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@3018 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
f0b63f4dae
commit
e7b5be85b8
@ -4,11 +4,11 @@
|
||||
# Remove endian ('l' / 'eb')
|
||||
[[ ${arm_arch} == *l ]] && arm_arch=${arm_arch%l}
|
||||
[[ ${arm_arch} == *eb ]] && arm_arch=${arm_arch%eb}
|
||||
- confgcc="${confgcc} --with-arch=${arm_arch}"
|
||||
- confgcc+=" --with-arch=${arm_arch}"
|
||||
+ local arm_arches="armv4 armv4t armv5t armv5te armv6j armv6k armv6m armv6t2 armv6zk armv7a armv7m armv7r"
|
||||
+ for i in $arm_arches; do
|
||||
+ [[ ${i} == $arm_arch ]] && \
|
||||
+ confgcc="${confgcc} --with-arch=${arm_arch}"
|
||||
+ confgcc+=" --with-arch=${arm_arch}"
|
||||
+ done
|
||||
fi
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user