mirror of
https://github.com/drasko/codezero.git
synced 2026-04-29 15:11:30 +02:00
Bootdesc building working
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user