Bootdesc building working

This commit is contained in:
Bahadir Balban
2009-09-30 16:31:34 +03:00
parent 1aa31bc9d5
commit 73225a0119
7 changed files with 85 additions and 223 deletions

View File

@@ -76,18 +76,27 @@ fs0 = SConscript('fs0/SConscript', \
test0_env = env.Clone()
test0_env.Replace(CPPPATH = ['include', KERNEL_INCLUDE, LIBL4_INCLUDE, LIBMEM_INCLUDE])
#test0_env.Replace(CPPPATH = [LIBPOSIX_INCLUDE_USERSPACE, 'include', LIBC_INCLUDE, KERNEL_INCLUDE, LIBL4_INCLUDE, LIBMEM_INCLUDE])
#test0_env.Append(CCFLAGS = '-nostdinc')
test0 = SConscript('test0/SConscript', \
exports = { 'config' : config, 'environment' : test0_env, 'contid' : contid}, duplicate = 0, \
variant_dir = join(BUILDDIR, 'cont' + str(contid) + '/posix' + '/test0'))
images = [mm0, fs0, test0]
bootdesc_env = env.Clone()
bootdesc_env['bootdesc_dir'] = 'bootdesc'
bootdesc = SConscript('bootdesc/SConscript', \
exports = { 'config' : config, 'environment' : bootdesc_env, \
'contid' : contid, 'images' : images }, duplicate = 0, \
variant_dir = join(BUILDDIR, 'cont' + str(contid) + '/posix' + '/bootdesc'))
Depends(fs0, libposix)
Depends(test0, libposix)
Depends(bootdesc, [fs0, test0, mm0])
Alias('libposix', libposix)
Alias('mm0', mm0)
Alias('fs0', fs0)
Alias('test0', test0)
Alias('bootdesc', bootdesc)
Default([mm0, fs0, libposix, test0])
Default([mm0, fs0, libposix, test0, bootdesc])