Mercurial > hg > aboriginal
comparison sources/include.sh @ 729:1d2921810860
Fix the canadian cross stuff for arches that override CROSS_TARGET (ala ppc440)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 17 May 2009 15:14:46 -0500 |
parents | db5cb617339a |
children | 104e8a35ea2e |
comparison
equal
deleted
inserted
replaced
728:14b9373956a7 | 729:1d2921810860 |
---|---|
100 # Override these to perform a canadian cross in root-filesystem.sh | 100 # Override these to perform a canadian cross in root-filesystem.sh |
101 | 101 |
102 if [ -z "$FROM_ARCH" ] | 102 if [ -z "$FROM_ARCH" ] |
103 then | 103 then |
104 FROM_ARCH="${ARCH}" | 104 FROM_ARCH="${ARCH}" |
105 FROM_HOST="${CROSS_TARGET}" | |
105 else | 106 else |
106 [ -z "$PROGRAM_PREFIX" ] && PROGRAM_PREFIX="${ARCH}-" | 107 [ -z "$PROGRAM_PREFIX" ] && PROGRAM_PREFIX="${ARCH}-" |
107 fi | 108 fi |
108 [ -z "$FROM_HOST" ] && FROM_HOST="${FROM_ARCH}"-walrus-linux | |
109 | 109 |
110 # Setup directories and add the cross compiler to the start of the path. | 110 # Setup directories and add the cross compiler to the start of the path. |
111 | 111 |
112 [ -z "$NATIVE_ROOT" ] && export NATIVE_ROOT="${BUILD}/root-filesystem-$ARCH" | 112 [ -z "$NATIVE_ROOT" ] && export NATIVE_ROOT="${BUILD}/root-filesystem-$ARCH" |
113 export PATH="${BUILD}/cross-compiler-$ARCH/bin:$PATH" | 113 export PATH="${BUILD}/cross-compiler-$ARCH/bin:$PATH" |