mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 04:13:16 +01:00
Kernel updates since December 2009
This commit is contained in:
@@ -33,7 +33,7 @@ def build_linux_container(config, projpaths, container):
|
||||
|
||||
# Calculate and store size of pager
|
||||
pager_binary = \
|
||||
"cont" + str(container.id) + "/linux/linux-2.6.28.10/linux.elf"
|
||||
"cont" + str(container.id) + "/linux/linux-2.6.33/linux.elf"
|
||||
config.containers[container.id].pager_size = \
|
||||
conv_hex(elf_binary_size(join(BUILDDIR, pager_binary)))
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ class LinuxContainerPacker:
|
||||
self.atags_elf_in])
|
||||
self.generate_container_assembler([self.kernel_image_in, self.rootfs_elf_in, \
|
||||
self.atags_elf_in])
|
||||
os.system(config.user_toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
os.system(config.toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
% (self.container_elf_out, self.container_lds_out, \
|
||||
self.container_S_out))
|
||||
# Final file is returned so that the final packer needn't
|
||||
@@ -155,7 +155,7 @@ class DefaultContainerPacker:
|
||||
def pack_container(self, config):
|
||||
self.generate_container_lds(self.images_in)
|
||||
self.generate_container_assembler(self.images_in)
|
||||
os.system(config.user_toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
os.system(config.toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
% (self.container_elf_out, self.container_lds_out, \
|
||||
self.container_S_out))
|
||||
# Final file is returned so that the final packer needn't
|
||||
|
||||
@@ -79,7 +79,7 @@ class AllContainerPacker:
|
||||
def pack_all(self, config):
|
||||
self.generate_container_lds(self.containers_lds_out)
|
||||
self.generate_container_S(self.containers_S_out)
|
||||
os.system(config.user_toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
os.system(config.toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
% (self.containers_elf_out, self.containers_lds_out, \
|
||||
self.containers_S_out))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user