summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-24 17:09:30 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-25 14:30:57 (GMT)
commit0287f645f1547922a37331c281cdf09807d12b2d (patch)
treeb1b22ec110f859c413942a21e8758e0292bccf00 /meta/recipes-devtools/gcc
parent8f55130e6fa392a54120b63f50485dee43366a7e (diff)
downloadpoky-0287f645f1547922a37331c281cdf09807d12b2d.tar.gz
gcc-cross: Don't reference machine specific variables
gcc-cross is installed into a package architecture specific directory and is not meant to be machine specific. This patch replaces MACHINE_ARCH with PACKAGE_ARCH to ensure this is really the case. This was found by examining sstate checksums. (From OE-Core rev: b3ca57418f47b16ed0a63d3291bf7d31e3ca5a45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 0b31a8c..6acf8c5 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -87,12 +87,12 @@ then
87 exit 1 87 exit 1
88fi 88fi
89 echo "lappend boards_dir [pwd]/../../.." > ${B}/site.exp 89 echo "lappend boards_dir [pwd]/../../.." > ${B}/site.exp
90 echo "load_generic_config \"unix\"" > ${B}/${MACHINE_ARCH}.exp 90 echo "load_generic_config \"unix\"" > ${B}/${PACKAGE_ARCH}.exp
91 echo "set_board_info username \$user" >> ${B}/${MACHINE_ARCH}.exp 91 echo "set_board_info username \$user" >> ${B}/${PACKAGE_ARCH}.exp
92 echo "set_board_info rsh_prog ssh" >> ${B}/${MACHINE_ARCH}.exp 92 echo "set_board_info rsh_prog ssh" >> ${B}/${PACKAGE_ARCH}.exp
93 echo "set_board_info rcp_prog scp" >> ${B}/${MACHINE_ARCH}.exp 93 echo "set_board_info rcp_prog scp" >> ${B}/${PACKAGE_ARCH}.exp
94 echo "set_board_info hostname \$target" >> ${B}/${MACHINE_ARCH}.exp 94 echo "set_board_info hostname \$target" >> ${B}/${PACKAGE_ARCH}.exp
95 DEJAGNU=${B}/site.exp make -k check RUNTESTFLAGS="--target_board=${MACHINE_ARCH}\$@" 95 DEJAGNU=${B}/site.exp make -k check RUNTESTFLAGS="--target_board=${PACKAGE_ARCH}\$@"
96 96
97STOP 97STOP
98 98