aboutsummaryrefslogtreecommitdiff
path: root/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index c6b6d93..353a339 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -27,7 +27,7 @@ CFLAGS = $(CSFLAGS) -Wall -Wextra -nostdlib -nostdinc -ffreestanding -fno-builti
ASFLAGS = -f elf32
-all: compile bootloader
+all: compile
%.o: %.c
@$(CC) -c $(CFLAGS) $< -o $@
@@ -35,10 +35,6 @@ all: compile bootloader
%_asm.o: %.asm
@$(AS) $(ASFLAGS) $< -o $@
-bootloader:
- @mkdir -p ../build/
- @$(AS) -f bin entry.asm -o ../build/boot.bin
-
compile: $(COBJS)
@mkdir -p ../build/
@$(LD) -N -ekernel_main -Ttext 0x00050000 -o ../build/kernel.bin -L../build/ $+ -lk --oformat binary