summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-07 11:57:16 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-07 11:57:16 +0200
commit03b54c5ab504e8a9abafaf60c7b4fed4f8629ea6 (patch)
treed79fab50d5f5aeeed5f50c57a65a6d297ede3fec /src/Makefile
parentaa85f2aaf27d79af277867fc7ca4168f1bb117c0 (diff)
downloadabaos-03b54c5ab504e8a9abafaf60c7b4fed4f8629ea6.tar.gz
abaos-03b54c5ab504e8a9abafaf60c7b4fed4f8629ea6.tar.bz2
added 32-bit port functions
started to add PCI functions (for now read/write only) added help menu in boot kernel input mode
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 6e52754..9c793df 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -28,10 +28,10 @@ kernel.bin: kernel.elf
kernel.sym: kernel.elf
$(OBJCOPY) --only-keep-debug kernel.elf kernel.sym
-kernel.elf: kernel.o kernel_asm.o console.o vga.o serial.o port.o port_asm.o interrupts.o interrupts_asm.o keyboard.o mouse.o string.o stdlib.o stdio.o setjmp.o
+kernel.elf: kernel.o kernel_asm.o console.o vga.o serial.o port.o port_asm.o interrupts.o interrupts_asm.o pci.o keyboard.o mouse.o string.o stdlib.o stdio.o setjmp.o
$(LD) -o kernel.elf -N -n -Ttext 0x8400 --oformat elf32-i386 \
kernel.o kernel_asm.o console.o vga.o serial.o \
- port.o port_asm.o interrupts.o interrupts_asm.o \
+ port.o port_asm.o interrupts.o interrupts_asm.o pci.o \
keyboard.o mouse.o \
string.o stdlib.o stdio.o setjmp.o
@@ -65,6 +65,9 @@ interrupts.o: interrupts.c interrupts.h
interrupts_asm.o: interrupts.asm
$(NASM) interrupts.asm $(NASMFLAGS) -o interrupts_asm.o
+pci.o: pci.c pci.h
+ $(CC) $(CFLAGS) -c -o pci.o pci.c
+
keyboard.o: keyboard.c keyboard.h
$(CC) $(CFLAGS) -c -o keyboard.o keyboard.c