mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
Remove replication of main.c in the final link.
This commit is contained in:
@@ -87,7 +87,7 @@ startAxfS = Command('start.axf.S', images[0], ksymToLds)
|
||||
kernelS = Command('kernel.S', images + [startAxfS], createKernelSFile)
|
||||
mainC = Command('main.c', ['main.c.in'] + images, createMainC)
|
||||
|
||||
objects = environment.Object(Glob('*.c') + [kernelS, startAxfS, mainC])
|
||||
objects = environment.Object(['arch.c' , kernelS, startAxfS, mainC])
|
||||
Depends(objects, environment['configFiles'])
|
||||
Depends(objects, images)
|
||||
program = environment.Program('final', objects + [environment['baremetal_crt0']])
|
||||
|
||||
Reference in New Issue
Block a user