diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-06 00:03:35 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-07 08:18:42 +0200 |
commit | 08235f7144d08bc111b07d3523ac6439f6fd0b94 (patch) | |
tree | 2abd55a9351868e2cd8a5315401cf307b1449fcb /package/netkittelnet/netkittelnet.mk | |
parent | 9d6610f58fd8ab9afb677ccef2dc73dd0a7c187c (diff) |
external-toolchain: adjust tests on TARGET_CC and TARGET_CXX
Following the changes to TARGET_CC/TARGET_CXX to include the --sysroot
option, these variables not only contain the path to the compiler, but
also the --sysroot option. For that reason, we cannot anymore just use
"test -x" to test for the compiler presence. Instead, we see if
$(TARGET_CC) -v and $(TARGET_CXX) -v return a zero status.
Moreover, --sysroot now needs to be filtered out of $(TARGET_CC) and
not $(TARGET_CFLAGS) when asking the toolchain for its original
sysroot and arch sysroot.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/netkittelnet/netkittelnet.mk')
0 files changed, 0 insertions, 0 deletions