summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZhenqiang Chen <zhenqiang.chen@linaro.org>2012-02-27 07:24:18 (GMT)
committerZhenqiang Chen <zhenqiang.chen@linaro.org>2012-02-27 07:24:18 (GMT)
commitc6caf866f9b5c7cccbf964b500023b0f7cfeabb4 (patch)
tree67a68e879f0b1ff5c737b0a2a40065cc2e787b69 /scripts
parentfec8e7b5661eaf31bdba2cb2d5b86998cacf0cb3 (diff)
cc/gcc: Update core_prefix_dir to prefix.
core_prefix_dir is not defined. It should be prefix. Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/cc/gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index a74500f..e0906c3 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -463,7 +463,7 @@ do_cc_core_backend() {
CT_DoExecLog ALL ln -sfv "${CT_TARGET}-gcc${ext}" "${prefix}/bin/${CT_TARGET}-cc${ext}"
if [ "${CT_MULTILIB}" = "y" ]; then
- multilibs=( $( "${core_prefix_dir}/bin/${CT_TARGET}-gcc" -print-multi-lib \
+ multilibs=( $( "${prefix}/bin/${CT_TARGET}-gcc" -print-multi-lib \
|tail -n +2 ) )
if [ ${#multilibs[@]} -ne 0 ]; then
CT_DoLog EXTRA "gcc configured with these multilibs (besides the default):"