Commit Graph

32 Commits

Author SHA1 Message Date
Bahadir Balban
5ec000fb34 Added libmem which was forgotten 2009-10-01 10:52:07 +03:00
Bahadir Balban
b24fa0772f Removed .sconsigns that got in. 2009-09-30 23:53:57 +03:00
Bahadir Balban
1a8b993ace Updated a warning + removed .elf from intermediate bootdesc elf file
container packer picks up files with .elf extentions. Therefore intermediate
files must not have .elf extentions, since they're not meant to go to the final
executable.
	modified:   conts/posix/bootdesc/SConscript
	modified:   conts/posix/libposix/stat.c
2009-09-30 23:49:24 +03:00
Bahadir Balban
7ca634450b Added inclusion of test_exec binary to test0 2009-09-30 23:45:19 +03:00
Bahadir Balban
4e7d8ddc25 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
2009-09-30 19:04:35 +03:00
Bahadir Balban
748d6734c3 We now have a correctly compiling (but untested) posix container build. 2009-09-30 18:37:51 +03:00
Bahadir Balban
73225a0119 Bootdesc building working 2009-09-30 16:31:34 +03:00
Bahadir Balban
1aa31bc9d5 We have all posix programs getting compiled.
A lot of hassles on standard c library, mock-up libc, and libposix
headers taken from uClibc clashing has been worked around.

Next:
 - Linker scripts need fixing and adjusting.
 - Bootdesc needs to be generated.
 - Per-container compilation scripts need connecting.
2009-09-29 23:06:29 +03:00
Bahadir Balban
f0bb0a4657 Added posix code 2009-09-29 21:55:59 +03:00
Bahadir Balban
54272ccb63 Mods to userspace library building 2009-09-29 21:55:20 +03:00
Bahadir Balban
1c2eaae8b3 Created container.h and added more comprehensive hello world
Added a per-container container.h that inclues useful definitions.
Hello world now is in a separate file not to modify main too often.
hello world now prints container name and id.
2009-09-27 18:35:38 +03:00
Bahadir Balban
6dc68c1776 Force rebuild of bare containers when their linker script changes.
Small change but useful since linker address configuration changes
should force relinking of container executables.
2009-09-26 22:12:11 +03:00
Bahadir Balban
2da7b16412 Moved all crt0.S to .text.head 2009-09-21 20:26:01 +03:00
Bahadir Balban
6b582be876 Fixed bare container linking issue on libgcc not finding definition of `raise' 2009-09-21 20:04:07 +03:00
Bahadir Balban
c49dd29a41 Missing libc added back 2009-09-21 14:30:19 +03:00
Bahadir Balban
3b08ce304d Merge branch 'linux' of ssh://www.b-labs.co.uk/git/codezero into linux 2009-09-21 14:25:48 +03:00
Bahadir Balban
73653bdc27 Added missing SConstruct.userlibs 2009-09-21 14:25:10 +03:00
Bahadir Balban
f34be923e9 Removed files that doesn't belong to this repo 2009-09-21 13:46:15 +03:00
Bahadir Balban
b2c93979ba Packing of bare container done. 2009-09-19 20:53:29 +03:00
Bahadir Balban
19a84b02da Test program for bare repos now links with libl4 and libc.
The userspace bare libc has been re-added to the repo.
2009-09-19 12:30:37 +03:00
Bahadir Balban
99ebb7c50d Bare container correctly autogenerates from `test' sources and builds.
new file:   conts/test/SConstruct
	new file:   conts/test/container.c
	new file:   conts/test/include/linker.lds
	new file:   conts/test/include/test.h
	new file:   conts/test/main.c
	new file:   conts/test/src/test.c
	modified:   scripts/bare/bare_generator.py
2009-09-18 18:49:56 +03:00
Bahadir Balban
f305d443c3 Added forgotten files and fixed minor build errors 2009-09-17 18:10:38 +03:00
Bahadir Balban
ca3693afdc Removed the containers SConscript 2009-09-17 15:36:05 +03:00
Bahadir Balban
b1f3a2bbc7 Removed arch symlink creation. Simply very hard to get SCons to do it. 2009-09-16 19:49:35 +03:00
Bahadir Balban
e08ab58b09 Can now compile loader, libl4, libelf, libc from SConstruct.loader 2009-09-14 19:07:12 +03:00
Bahadir Balban
90b2815836 libl4 builds with a standalone SConstruct 2009-09-14 11:55:49 +03:00
Bahadir Balban
dd04734491 Top-level SConsctruct can now retrive shelved configuration
By moving shelve retrieval details to configuration_retrieve()
into configuration.py, the top-level SConstruct can now get full
configuration object from shelve.
2009-09-14 11:52:01 +03:00
Bahadir Balban
c4c3fb1e6c Mods for improvements 2009-09-12 18:54:35 +03:00
Bahadir Balban
59f30a175a More progress on build scripts
Created a config directory for configuration files.
Moved all absolute path variables to a projpaths.py file
All scripts can now universally learn absolute paths via projpaths.py
Moved the config_symbols class to the configuration.py file.
Moved libs to loader since they are only referred by the loader
2009-09-12 13:42:30 +03:00
Bahadir Balban
8697a824be Managed to connect container SConstruct to main one 2009-09-08 17:30:18 +03:00
Bahadir Balban
e1a119e373 Top-level SConstruct has problems yet. Added conts/linux/SConscript 2009-09-07 10:48:52 +03:00
Bahadir Balban
ece106e591 Removed posix container files, moved libl4 to conts, moving linux module to conts as well 2009-09-04 13:59:07 +03:00