Change of name.
This commit is contained in:
parent
06aa177eef
commit
f51e10870b
8
Makefile
8
Makefile
@ -32,7 +32,7 @@ LIBS=-lgcc
|
||||
# Binary variables
|
||||
OBJS=src/kernel/arch/$(ARCH)/boot.o src/kernel/kernel.o src/kernel/arch/$(ARCH)/tty.o
|
||||
|
||||
untrue.bin: $(OBJS)
|
||||
colonel.bin: $(OBJS)
|
||||
$(CC) -T src/kernel/arch/$(ARCH)/linker.ld -o $@ $(LDFLAGS) $^ $(LIBS)
|
||||
|
||||
%.o: %.c
|
||||
@ -42,9 +42,9 @@ untrue.bin: $(OBJS)
|
||||
$(AS) $(AFLAGS) $< -o $@
|
||||
|
||||
.PHONY: all build-iso clean clean-all
|
||||
all: untrue.bin
|
||||
all: colonel.bin
|
||||
|
||||
build-iso: untrue.iso
|
||||
build-iso: colonel.iso
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS)
|
||||
@ -53,7 +53,7 @@ clean:
|
||||
clean-all: clean
|
||||
rm -f *.iso *.bin
|
||||
|
||||
untrue.iso: untrue.bin
|
||||
colonel.iso: colonel.bin
|
||||
mkdir -p isodir/boot/grub/
|
||||
cp configs/grub.cfg isodir/boot/grub/
|
||||
cp $< isodir/boot/
|
||||
|
@ -1,5 +1,5 @@
|
||||
UntrueOS
|
||||
========
|
||||
Colonel
|
||||
=======
|
||||
This is a small OS project I'm working on. It's slow progress and probably shouldn't be run anywhere except in an emulator. It currently supports the following architectures:
|
||||
- x86
|
||||
|
||||
@ -7,7 +7,7 @@ Compiling
|
||||
---------
|
||||
You'll want to setup a cross-compilation toolchain with [GCC](https://gcc.gnu.org/) for your target architecture, along with [GNU Make](https://www.gnu.org/software/make/) (I'll switch to the GNU autotools as soon as I can get them to work properly).
|
||||
|
||||
To compile a full image you can run `make build-iso`, which will use [GNU GRUB](https://www.gnu.org/software/grub/) as the bootloader. Else, just run `make` and it will build the kernel into a file called `untrue.bin`. You can run the latter with [QEMU](https://www.qemu.org/) by using the `-kernel` option.
|
||||
To compile a full image you can run `make build-iso`, which will use [GNU GRUB](https://www.gnu.org/software/grub/) as the bootloader. Else, just run `make` and it will build the kernel into a file called `colonel.bin`. You can run the latter with [QEMU](https://www.qemu.org/) by using the `-kernel` option.
|
||||
|
||||
License
|
||||
-------
|
||||
|
@ -1,3 +1,3 @@
|
||||
menuentry "UntrueOS" {
|
||||
multiboot /boot/untrue.bin
|
||||
menuentry "ColonelOS" {
|
||||
multiboot /boot/colonel.bin
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user