binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.
Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <7a604b5df9c84a1e20c3.1349931195@localhost.localdomain>
PatchWork-Id: 190788
1 # Compute x86-specific values
3 # This one really needs a little love! :-(
5 CT_DoArchTupleValues() {
7 # Override the architecture part of the tuple:
8 if [ "${CT_ARCH_64}" = "y" ]; then
11 arch="${CT_ARCH_ARCH}"
12 [ -z "${arch}" ] && arch="${CT_ARCH_TUNE}"
14 "") CT_TARGET_ARCH=i386;;
15 i386|i486|i586|i686) CT_TARGET_ARCH="${arch}";;
16 winchip*) CT_TARGET_ARCH=i486;;
17 pentium|pentium-mmx|c3*) CT_TARGET_ARCH=i586;;
18 pentiumpro|pentium*|athlon*) CT_TARGET_ARCH=i686;;
19 prescott) CT_TARGET_ARCH=i686;;
20 *) CT_TARGET_ARCH=i586;;