diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-24 17:09:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-25 14:30:34 +0000 |
commit | b3ca57418f47b16ed0a63d3291bf7d31e3ca5a45 (patch) | |
tree | ccceb3fc4060becd078899ea5868bde70ecd3a21 /meta/recipes-devtools | |
parent | b35384fa3ca96b31c63d764322215abced2066e4 (diff) | |
download | openembedded-core-b3ca57418f47b16ed0a63d3291bf7d31e3ca5a45.tar.gz openembedded-core-b3ca57418f47b16ed0a63d3291bf7d31e3ca5a45.tar.bz2 openembedded-core-b3ca57418f47b16ed0a63d3291bf7d31e3ca5a45.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 12 |
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 0b31a8c8a3..6acf8c5848 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc @@ -87,12 +87,12 @@ then exit 1 fi echo "lappend boards_dir [pwd]/../../.." > ${B}/site.exp - echo "load_generic_config \"unix\"" > ${B}/${MACHINE_ARCH}.exp - echo "set_board_info username \$user" >> ${B}/${MACHINE_ARCH}.exp - echo "set_board_info rsh_prog ssh" >> ${B}/${MACHINE_ARCH}.exp - echo "set_board_info rcp_prog scp" >> ${B}/${MACHINE_ARCH}.exp - echo "set_board_info hostname \$target" >> ${B}/${MACHINE_ARCH}.exp - DEJAGNU=${B}/site.exp make -k check RUNTESTFLAGS="--target_board=${MACHINE_ARCH}\$@" + echo "load_generic_config \"unix\"" > ${B}/${PACKAGE_ARCH}.exp + echo "set_board_info username \$user" >> ${B}/${PACKAGE_ARCH}.exp + echo "set_board_info rsh_prog ssh" >> ${B}/${PACKAGE_ARCH}.exp + echo "set_board_info rcp_prog scp" >> ${B}/${PACKAGE_ARCH}.exp + echo "set_board_info hostname \$target" >> ${B}/${PACKAGE_ARCH}.exp + DEJAGNU=${B}/site.exp make -k check RUNTESTFLAGS="--target_board=${PACKAGE_ARCH}\$@" STOP |