Added a dependency on loader_images_S from final.elf

This ensures final.elf builds whenever containers.elf file changes.
This commit is contained in:
Bahadir Balban
2009-09-24 12:56:12 +03:00
parent 2c003da964
commit b91286dcd4
2 changed files with 8 additions and 8 deletions

View File

@@ -43,9 +43,10 @@ libc = SConscript('loader/libs/c/SConscript', \
libelf = SConscript('loader/libs/elf/SConscript', exports = { 'env' : env }, \
duplicate = 0, variant_dir = 'build/loader/libs/elf')
loader_objs = SConscript('loader/SConscript', exports = { 'env' : env }, \
duplicate = 0, variant_dir = 'build/loader')
loader_objs, images_S = SConscript('loader/SConscript', exports = { 'env' : env }, \
duplicate = 0, variant_dir = 'build/loader')
env.Program('build/final.elf', [libelf + libc + loader_objs])
final_elf = env.Program('build/final.elf', [libelf + libc + loader_objs])
Depends(loader_objs, libelf)
Depends(loader_objs, libc)
Depends(final_elf, images_S)