Get the baremetal crt0 included in the final link.

This commit is contained in:
Russel Winder
2009-08-10 09:43:09 +01:00
parent 163baa31ea
commit 5fcf173ae6
2 changed files with 8 additions and 6 deletions

View File

@@ -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')