scripts/crosstool-NG.sh.in
changeset 1683 09ae4c09ba83
parent 1662 ea3490d46f4e
child 1689 184a960d2fc8
     1.1 --- a/scripts/crosstool-NG.sh.in	Mon Dec 14 19:17:37 2009 +0100
     1.2 +++ b/scripts/crosstool-NG.sh.in	Sun Jan 03 18:36:07 2010 +0100
     1.3 @@ -134,6 +134,9 @@
     1.4  # then rescan the options file now:
     1.5  . .config
     1.6  
     1.7 +# Sanity check some directories
     1.8 +CT_TestAndAbort "'CT_PREFIX_DIR' is not set: where should I install?" -z "${CT_PREFIX_DIR}"
     1.9 +
    1.10  # Second kludge: merge user-supplied target CFLAGS with architecture-provided
    1.11  # target CFLAGS. Do the same for LDFLAGS in case it happens in the future.
    1.12  # Put user-supplied flags at the end, so that they take precedence.