mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 20:03:16 +01:00
Get the baremetal crt0 included in the final link.
This commit is contained in:
@@ -69,9 +69,9 @@ startAxfS = Command('start.axf.S', images[0], ksymToLds)
|
||||
|
||||
kernelS = Command('kernel.S', images + [startAxfS], createKernelSFile)
|
||||
|
||||
objects = environment.Object(Glob('*.c') + [kernelS])
|
||||
objects = environment.Object(Glob('*.c') + [kernelS, startAxfS])
|
||||
Depends(objects, environment['configFiles'])
|
||||
Depends(objects, images)
|
||||
program = environment.Program('final', objects)
|
||||
program = environment.Program('final', objects + [environment['baremetal_crt0']])
|
||||
|
||||
Return('program')
|
||||
|
||||
Reference in New Issue
Block a user