Changeset 797 for mcbuilder/trunk/src/Builder.cpp
- Timestamp:
- 08/09/08 14:06:42 (5 months ago)
- Files:
-
- 1 modified
-
mcbuilder/trunk/src/Builder.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mcbuilder/trunk/src/Builder.cpp
r721 r797 250 250 251 251 // add in the directories for the required libraries 252 QDir libdir(QDir::current().filePath(" libraries"));252 QDir libdir(QDir::current().filePath("cores/makecontroller/libraries")); 253 253 foreach(Library lib, libraries) 254 254 tofile << " -I" << filteredPath(libdir.filePath(lib.name)) << " \\" << endl; … … 269 269 tofile << "OBJCOPY=" << QDir::toNativeSeparators(toolsPath + "arm-elf-objcopy") << endl; 270 270 tofile << "ARCH=" << QDir::toNativeSeparators(toolsPath + "arm-elf-ar") << endl; 271 tofile << "CRT0=" + filteredPath(" resources/cores/makecontroller/startup/boot.s") << endl;271 tofile << "CRT0=" + filteredPath("cores/makecontroller/core/startup/boot.s") << endl; 272 272 QString debug = (projInfo->debug()) ? "-g" : ""; 273 273 tofile << "DEBUG=" + debug << endl; … … 284 284 optLevel = "-O0"; 285 285 tofile << "OPTIM=" + optLevel << endl; 286 tofile << "LDSCRIPT=" + filteredPath(" resources/cores/makecontroller/startup/atmel-rom.ld") << endl << endl;286 tofile << "LDSCRIPT=" + filteredPath("cores/makecontroller/core/startup/atmel-rom.ld") << endl << endl; 287 287 288 288 // the rest is always the same... … … 652 652 QDir projDir(project); 653 653 QStringList srcFiles = projDir.entryList(QStringList() << "*.c" << "*.h"); 654 QDir libDir(QDir::current().filePath(" libraries"));654 QDir libDir(QDir::current().filePath("cores/makecontroller/libraries")); 655 655 QStringList libDirs = libDir.entryList(QStringList(), QDir::Dirs | QDir::NoDotAndDotDot); 656 656 … … 723 723 if(!QDir::isAbsolutePath(path)) 724 724 { 725 if(path.startsWith(" resources/cores"))725 if(path.startsWith("cores")) 726 726 filtered = QDir::current().filePath(path); 727 727 else
