Integrated building of posix images as a container

Issues:
Some intermediate .elf files should not go into final container image.
Perhaps those will be built with different or no extension
This commit is contained in:
Bahadir Balban
2009-09-30 19:04:35 +03:00
parent 748d6734c3
commit 4e7d8ddc25
3 changed files with 7 additions and 3 deletions

View File

@@ -48,8 +48,11 @@ def source_to_builddir(srcdir, id):
# calling specific bare containers
def build_posix_container(projpaths, container):
images = []
cwd = os.getcwd()
os.chdir(POSIXDIR)
print POSIXDIR
print '\nBuilding the Posix Container...'
scons_cmd = 'scons -f ' + join(POSIXDIR, 'SConstruct') + ' cont=' str(container.id)
scons_cmd = 'scons ' + 'cont=' + str(container.id)
print "Issuing scons command: %s" % scons_cmd
os.system(scons_cmd)
builddir = source_to_builddir(POSIXDIR, container.id)