Allow multi-word "install" command.
Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:
# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"
# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory
# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.
Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
1 # Compute ARM-specific values
3 CT_DoArchTupleValues() {
4 # The architecture part of the tuple:
5 CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
7 # The system part of the tuple:
8 case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
9 *glibc,y) CT_TARGET_SYS=gnueabi;;
10 uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
11 *,y) CT_TARGET_SYS=eabi;;
14 # Set the default instruction set mode
15 case "${CT_ARCH_ARM_MODE}" in
18 CT_ARCH_CC_CORE_EXTRA_CONFIG="--with-mode=thumb"
19 CT_ARCH_CC_EXTRA_CONFIG="--with-mode=thumb"
20 # CT_ARCH_TARGET_CFLAGS="-mthumb"
24 if [ "${CT_ARCH_ARM_INTERWORKING}" = "y" ]; then
25 CT_ARCH_TARGET_CFLAGS+=" -mthumb-interwork"