Show
Ignore:
Timestamp:
08/09/08 14:06:42 (5 months ago)
Author:
liamstask
Message:

- update for directory structure of new firmware

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mcbuilder/trunk/src/Builder.cpp

    r721 r797  
    250250           
    251251          // add in the directories for the required libraries 
    252           QDir libdir(QDir::current().filePath("libraries")); 
     252          QDir libdir(QDir::current().filePath("cores/makecontroller/libraries")); 
    253253          foreach(Library lib, libraries) 
    254254            tofile << "  -I" << filteredPath(libdir.filePath(lib.name)) << " \\" << endl; 
     
    269269          tofile << "OBJCOPY=" << QDir::toNativeSeparators(toolsPath + "arm-elf-objcopy") << endl; 
    270270          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; 
    272272          QString debug = (projInfo->debug()) ? "-g" : ""; 
    273273          tofile << "DEBUG=" + debug << endl; 
     
    284284            optLevel = "-O0"; 
    285285          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; 
    287287 
    288288          // the rest is always the same... 
     
    652652  QDir projDir(project); 
    653653  QStringList srcFiles = projDir.entryList(QStringList() << "*.c" << "*.h"); 
    654   QDir libDir(QDir::current().filePath("libraries")); 
     654  QDir libDir(QDir::current().filePath("cores/makecontroller/libraries")); 
    655655  QStringList libDirs = libDir.entryList(QStringList(), QDir::Dirs | QDir::NoDotAndDotDot); 
    656656   
     
    723723  if(!QDir::isAbsolutePath(path)) 
    724724  { 
    725     if(path.startsWith("resources/cores")) 
     725    if(path.startsWith("cores")) 
    726726      filtered = QDir::current().filePath(path); 
    727727    else