Include the full version number in the directory paths installed.
Change the version string so that it does not break 'make', and so that it has no '/' (it would be a hell if installed directories would mirror the SVN branches... :-/ )
Do not use implicit rules for the Makefile.
Simplify and enc=hance the --local test to refuse (un)installing.
Double-quotes variables, they are based on user input.
Eye-candy in the 'compile' and install messages.
/trunk/configure | 26 14 12 0 ++++++++++---------
/trunk/Makefile.in | 83 45 38 0 +++++++++++++++++++++++++++++++++---------------------------
2 files changed, 59 insertions(+), 50 deletions(-)
1 # Compute ARM-specific values
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,) CT_TARGET_SYS=gnu;;
10 glibc,y) CT_TARGET_SYS=gnueabi;;
11 uClibc,) CT_TARGET_SYS=uclibc;;
12 uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
15 case "${CT_ARCH_ABI},${CT_ARCH_ARM_EABI}" in
18 CT_DoLog DEBUG "'--with-abi=aapcs' is in fact '-mabi=aapcs-linux' when used in CFLAGS."
19 CT_ARCH_ABI_CFLAGS="-mabi=aapcs-linux"
22 CT_DoLog WARN "Forcing ABI to 'aapcs-linux' for use with EABI."
23 CT_ARCH_WITH_ABI="--with-abi=aapcs"
24 CT_ARCH_ABI_CFLAGS="-mabi=aapcs-linux"
27 CT_DoLog ERROR "ABI='${CT_ARCH_ABI}' not supported for EABI."
28 CT_Abort "If you know you are right, please edit 'arch/arm/functions' in crosstool-NG sources."