git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More work on x86_64 build, error handling and IDT
[tpg/acess2.git]
/
Kernel
/
arch
/
x86_64
/
Makefile
diff --git
a/Kernel/arch/x86_64/Makefile
b/Kernel/arch/x86_64/Makefile
index
6824c9f
..
6bc6419
100644
(file)
--- a/
Kernel/arch/x86_64/Makefile
+++ b/
Kernel/arch/x86_64/Makefile
@@
-14,6
+14,7
@@
MAX_CPUS := 4
CPPFLAGS := -DMAX_CPUS=$(MAX_CPUS)
CFLAGS := $(KERNEL_CFLAGS)
ASFLAGS := -f elf64 -D MAX_CPUS=$(MAX_CPUS)
CPPFLAGS := -DMAX_CPUS=$(MAX_CPUS)
CFLAGS := $(KERNEL_CFLAGS)
ASFLAGS := -f elf64 -D MAX_CPUS=$(MAX_CPUS)
+LDFLAGS := -nostdlib -nodefaultlibs
ifeq ($(ARCH),amd64)
ASFLAGS += -D AMD64=1
ifeq ($(ARCH),amd64)
ASFLAGS += -D AMD64=1
@@
-27,4
+28,5
@@
endif
A_OBJ = start32.ao start64.ao desctab.ao
A_OBJ = start32.ao start64.ao desctab.ao
-A_OBJ += main.o lib.o proc.o
+A_OBJ += main.o lib.o proc.o mm_virt.o mm_phys.o vm8086.o
+A_OBJ += kernelpanic.o errors.o
UCC
git Repository :: git.ucc.asn.au