diff options
author | Leif Lindholm <leif.lindholm@arm.com> | 2013-01-14 16:19:47 +0000 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2014-07-11 14:08:38 +0100 |
commit | 943bc930b32a100563be3514454c586e4067abea (patch) | |
tree | 36ff3a303f93115e5f832f9ba680d6579e9a940d /PandaBoardPkg | |
parent | 16658fa176d5813f8b4a887e84f3987edbae2584 (diff) |
panda: Enable native building for Pandaboard.
The "chtool" utility is checked in in its compiled form (x86-64),
which breaks when trying to compile on any other architecture.
This patch deletes this utility, which will be automatically
built when required.
PandaBoardPkg/build.sh uses TARGET_TOOLS rather than TOOLCHAIN
to determine toolchain to use - and falls back to hardcoded
cross-toolchains when this fails. To minimize changes, copy
the value of TOOLCHAIN into TARGET_TOOLS if set.
Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
Diffstat (limited to 'PandaBoardPkg')
-rwxr-xr-x | PandaBoardPkg/Tools/chtool | bin | 42621 -> 0 bytes | |||
-rwxr-xr-x | PandaBoardPkg/build.sh | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/PandaBoardPkg/Tools/chtool b/PandaBoardPkg/Tools/chtool Binary files differdeleted file mode 100755 index a18bdc9a9c..0000000000 --- a/PandaBoardPkg/Tools/chtool +++ /dev/null diff --git a/PandaBoardPkg/build.sh b/PandaBoardPkg/build.sh index 3c2c7a0c5c..8002eac264 100755 --- a/PandaBoardPkg/build.sh +++ b/PandaBoardPkg/build.sh @@ -53,6 +53,11 @@ fi # # Pick a default tool type for a given OS if no toolchain already defined # +if [ X"$TOOLCHAIN" != X"" ] +then + TARGET_TOOLS="$TOOLCHAIN" +fi + if [ -z "${TARGET_TOOLS:-}" ] then case `uname` in |