Remove replication of main.c in the final link.

This commit is contained in:
Russel Winder
2009-08-10 11:07:15 +01:00
parent 9781f49f5d
commit 52962b5b19

View File

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