Changeset 40f7d5c in rtems-libbsd for builder.py


Ignore:
Timestamp:
Sep 25, 2015, 12:14:04 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
af3944c
Parents:
df811cf
Message:

builder.py: addTargetSourceCPUDependentSourceFiles

Avoid and delete this function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • builder.py

    rdf811cf r40f7d5c  
    451451                                    assertSourceFile, sourceFileFragmentComposer)
    452452
    453     def addCPUDependentSourceFiles(self, cpu, files, sourceFileFragmentComposer):
    454         self.initCPUDependencies(cpu)
    455         self.cpuDependentSourceFiles[cpu] += \
    456             self.addFiles(files,
    457                           CPUDependentPathComposer(), FromFreeBSDToRTEMSSourceConverter(),
    458                           FromRTEMSToFreeBSDSourceConverter(), assertSourceFile,
    459                           sourceFileFragmentComposer)
    460 
    461     def addTargetSourceCPUDependentSourceFiles(self, targetCPUs, sourceCPU, files,
    462                                                sourceFileFragmentComposer):
    463         for cpu in targetCPUs:
     453    def addCPUDependentSourceFiles(self, cpus, files, sourceFileFragmentComposer):
     454        for cpu in cpus:
    464455            self.initCPUDependencies(cpu)
    465456            self.cpuDependentSourceFiles[cpu] += \
    466457                self.addFiles(files,
    467                               TargetSourceCPUDependentPathComposer(cpu, sourceCPU),
    468                               FromFreeBSDToRTEMSSourceConverter(), NoConverter(),
    469                               assertSourceFile, sourceFileFragmentComposer)
     458                              CPUDependentPathComposer(), FromFreeBSDToRTEMSSourceConverter(),
     459                              FromRTEMSToFreeBSDSourceConverter(), assertSourceFile,
     460                              sourceFileFragmentComposer)
    470461
    471462    def addTest(self, testFragementComposer):
Note: See TracChangeset for help on using the changeset viewer.