Toolchain: Add "sysroot" feature.

Reviewed-by: Tobias Hunger
This commit is contained in:
Christian Kandeler
2011-01-05 16:20:43 +01:00
parent a77c94a63b
commit 32c45cfc31
5 changed files with 7 additions and 7 deletions

View File

@@ -597,10 +597,10 @@ void MaemoDeployStep::installToSysroot()
} else {
writeOutput(tr("Copying files to sysroot ..."));
Q_ASSERT(!m_filesToCopy.isEmpty());
QDir sysRootDir(toolChain()->sysrootRoot());
QDir sysRootDir(toolChain()->sysroot());
foreach (const MaemoDeployable &d, m_filesToCopy) {
const QLatin1Char sep('/');
const QString targetFilePath = toolChain()->sysrootRoot() + sep
const QString targetFilePath = toolChain()->sysroot() + sep
+ d.remoteDir + sep + QFileInfo(d.localFilePath).fileName();
sysRootDir.mkpath(d.remoteDir.mid(1));
QFile::remove(targetFilePath);