A Lambda OS "reference implementation"
| build | ||
| docs | ||
| lambda-kern@15447ac8f4 | ||
| lambda-lib@1917929d01 | ||
| lambda-lutils@7251e130d7 | ||
| lambda-modules@959bd7bb7c | ||
| lboot@8e17bedd58 | ||
| rootfs/etc | ||
| .gitignore | ||
| .gitmodules | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
Lambda OS
This repository combines the Lambda kernel, userspace library, and a small set of userspace utilities to act as a "reference implementation" of sorts for the Lambda kernel.
Building
To be able to build Lambda OS, you need the following tools:
gccorclang(Use cross-compiler if necessary)makecpioeu-readelf(elfutils)- For X86 target
- For floppy image:
mkdosfsmcopy
- For ISO image:
xorrisogrub-mkrescue- GRUB
stage2_eltoritoshould be placed inbuild/CD/boot/grub- This can be found online, or from an installation of GRUB legacy
- For floppy image:
To build Lambda OS:
- If fisrt time
- Clone the
lambda-osrepository. - Update submodules:
git submodule update --init
- Clone the
- If not first time
git pullgit submodule update
- Make:
make- To speed up compilation, add
-j<threads>argument to themakecommand - Defaults to x86 ISO
- For clang:
make CC=clang AS=clang - 1.44MiB floppy target:
make floppy - ISO target:
make cdrom
- For clang:
- For ARMv7:
make ARCH=armv7 CROSS_COMPILE=<gcc prefix>- NOTE: ARMv7 target currently still creates x86 ISO, no image format has yet been selected for this architecture.
- To speed up compilation, add