From e7b5be85b82014018d123372c8d7f92f3a0a410c Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 29 Oct 2011 10:24:52 +0000 Subject: [PATCH] Bump toolchain patch git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@3018 6952d904-891a-0410-993b-d76249ca496b --- .../ls_pro_live/portage/toolchain_eclass-armv5tejl.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/ls_pro_live/portage/toolchain_eclass-armv5tejl.patch b/Documentation/ls_pro_live/portage/toolchain_eclass-armv5tejl.patch index e8308d0..29a7420 100644 --- a/Documentation/ls_pro_live/portage/toolchain_eclass-armv5tejl.patch +++ b/Documentation/ls_pro_live/portage/toolchain_eclass-armv5tejl.patch @@ -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 ;;