Changeset 9979042 in rtems


Ignore:
Timestamp:
Sep 15, 2020, 6:04:51 PM (2 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
20d8237
Parents:
2a4ccc4
git-author:
Sebastian Huber <sebastian.huber@…> (09/15/20 18:04:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/15/20 18:07:47)
Message:

build: Fix multiple defintion error for i386/pc386

Make the objcopy an bld.objects() task generator.

Close #4079.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/build/bsps/i386/pc386/objsmpstart.yml

    r2a4ccc4 r9979042  
    77cppflags: []
    88do-build: |
     9  from waflib import TaskGen
     10
     11  @TaskGen.feature("i386objcopy")
     12  @TaskGen.after("process_rule")
     13  def process_i386objcopy(self):
     14      self.compiled_tasks = self.tasks
     15
    916  startAP = "bsps/i386/pc386/start/startAP"
    1017  startAP_o = startAP + ".o"
     
    2835      source=appstart_bin,
    2936      target=appstart_o,
    30   )
    31   bld.objects(
    32       source=appstart_o,
    33       target=self.uid,
     37      name=self.uid,
     38      features="i386objcopy c",
    3439  )
    3540  bic.objects.append(self.uid)
Note: See TracChangeset for help on using the changeset viewer.