Commit Graph

7 Commits

Author SHA1 Message Date
Jacob Krall
37b576eb3c Explicitly rename copied kernel to kernel.bin
Otherwise your `grub.cfg` from earlier in the article will be out of date (we're producing `kernel-x86_64.bin`, but grub expects `kernel.bin`).
2015-10-26 15:45:46 +01:00
Jacob Krall
9ecaf0fe0c make iso depends on grub.cfg
This way, if you fix a typo in grub.cfg, you don't have to `make clean` to get `make iso` to pick it up.
2015-10-26 15:45:19 +01:00
Philipp Oppermann
3d94304bbb Specify rust target 2015-10-24 16:20:46 +02:00
Philipp Oppermann
c6223ed48f Omit unwinding landing pads (we don't support panics atm) 2015-08-25 14:54:06 +02:00
Philipp Oppermann
fcf69dcc53 Remove unused sections to avoid float issues
Avoids a linker error for `fmod` and `fmodf`. These functions are refenced in libcore. The KEEP ensures that the Multiboot section isn't removed.
2015-08-25 14:54:06 +02:00
Philipp Oppermann
d9ce36be11 Compile rust project in Makefile 2015-08-25 14:54:06 +02:00
Philipp Oppermann
262e64f184 Add a Makefile
It provides `make` (builds the kernel), `make iso` (builds kernel+ISO), and `make run` (builds kernel+ISO and starts qemu). All assembly files from the arch subdirectories are compiled and linked. It also provides basic multi-architecture support through e.g. `make arch=mips iso`.
2015-08-13 12:48:17 +02:00