Changeset 238e275 in rtems-libbsd


Ignore:
Timestamp:
Apr 6, 2017, 1:09:42 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
f7f3c4b
Parents:
23d6e50
git-author:
Sebastian Huber <sebastian.huber@…> (04/06/17 13:09:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/20/17 12:59:55)
Message:

scripts: Support CPU-dependent RTEMS source files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • builder.py

    r23d6e50 r238e275  
    559559        return path
    560560
     561class CPUDependentRTEMSPathComposer(RTEMSPathComposer):
     562    def composeLibBSDPath(self, path, prefix):
     563        path = super(CPUDependentRTEMSPathComposer, self).composeLibBSDPath(path, prefix)
     564        path = mapCPUDependentPath(path)
     565        return path
     566
    561567class CPUDependentLinuxPathComposer(LinuxPathComposer):
    562568    def composeLibBSDPath(self, path, prefix):
     
    736742                              sourceFileFragmentComposer)
    737743
     744    def addCPUDependentRTEMSSourceFiles(self, cpus, files, sourceFileFragmentComposer):
     745        for cpu in cpus:
     746            self.initCPUDependencies(cpu)
     747            self.cpuDependentSourceFiles[cpu] += \
     748                self.addFiles(files,
     749                              CPUDependentRTEMSPathComposer(), NoConverter(),
     750                              NoConverter(), assertSourceFile,
     751                              sourceFileFragmentComposer)
     752
    738753    def addCPUDependentLinuxSourceFiles(self, cpus, files, sourceFileFragmentComposer):
    739754        for cpu in cpus:
Note: See TracChangeset for help on using the changeset viewer.