diff options
author | Joursoir <chat@joursoir.net> | 2022-10-07 19:04:00 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-10-13 18:58:06 +0300 |
commit | 16a538de1a643af7cb45133d1eb5fd28e58d25d1 (patch) | |
tree | 2d354ef4706528eb6e087fac5d659b7070740848 /Makefile | |
parent | c4f8edeb0845e73a15baa513ade27df08db90248 (diff) | |
download | mfsos-16a538de1a643af7cb45133d1eb5fd28e58d25d1.tar.gz mfsos-16a538de1a643af7cb45133d1eb5fd28e58d25d1.tar.bz2 mfsos-16a538de1a643af7cb45133d1eb5fd28e58d25d1.zip |
x86: add GDT code to the kernel
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,7 @@ KERNBIN = kernel.bin BOOT ?= bootloader ARCH = x86 +ARCH_PATH = arch/$(ARCH) ARCH_INCLUDE = $(PWD)/arch/$(ARCH)/include ARCH_BOOT = arch/$(ARCH)/boot/$(BOOT) @@ -26,7 +27,8 @@ KERN_HEAD = $(ARCH_BOOT)/head.o C_SOURCES = \ kernel/main.c \ kernel/string.c \ - drivers/video/console/vgacon.c + drivers/video/console/vgacon.c \ + $(ARCH_PATH)/gdt.c OBJECTS = ${C_SOURCES:.c=.o} export CC LD AS OBJDUMP |