Back to home page

LXR

 
 

    


Warning, /spec/build/bsps/i386/pc386/objsmpstart.yml is written in an unsupported language. File is not indexed.

0001 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
0002 asflags: []
0003 build-type: script
0004 cflags: []
0005 copyrights:
0006 - Copyright (C) 2020 embedded brains GmbH & Co. KG
0007 cppflags: []
0008 do-build: |
0009   from waflib import TaskGen
0010 
0011   @TaskGen.feature("i386objcopy")
0012   @TaskGen.after("process_rule")
0013   def process_i386objcopy(self):
0014       self.compiled_tasks = self.tasks
0015 
0016   startAP = "bsps/i386/pc386/start/startAP"
0017   startAP_o = startAP + ".o"
0018   self.asm(bld, bic, startAP + ".S", startAP_o)
0019   startAP_exe = startAP + ".exe"
0020   ldflags = "-N -Ttext 0x70000 -e app_processor_start -nostdlib"
0021   bld(
0022       rule="${LD} " + ldflags + " -o ${TGT} ${SRC}",
0023       source=startAP_o,
0024       target=startAP_exe,
0025   )
0026   appstart_bin = "appstart.bin"
0027   bld(
0028       rule="${OBJCOPY} -O binary ${SRC} ${TGT}",
0029       source=startAP_exe,
0030       target=appstart_bin,
0031   )
0032   appstart_o = "appstart.o"
0033   bld(
0034       rule="${OBJCOPY} -I binary -O elf32-i386 -B i386 ${SRC} ${TGT}",
0035       source=appstart_bin,
0036       target=appstart_o,
0037       name=self.uid,
0038       features="i386objcopy c",
0039   )
0040   bic.objects.append(self.uid)
0041 do-configure: null
0042 enabled-by:
0043 - RTEMS_SMP
0044 includes: []
0045 ldflags: []
0046 links:
0047 - role: build-dependency
0048   uid: ../../optobjcopy
0049 prepare-build: null
0050 prepare-configure: null
0051 stlib: []
0052 type: build
0053 use-after: []
0054 use-before: []