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
3820a69
..
6bc6419
100644
(file)
--- a/
Kernel/arch/x86_64/Makefile
+++ b/
Kernel/arch/x86_64/Makefile
@@
-9,9
+9,12
@@
#LD = ld
#OBJDUMP = objdump
#LD = ld
#OBJDUMP = objdump
-CPPFLAGS =
-CFLAGS =
-ASFLAGS = -f elf
+MAX_CPUS := 4
+
+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
@@
-24,5
+27,6
@@
else
endif
endif
-A_OBJ = start32.ao start64.ao
-A_OBJ += main.o lib.o
+A_OBJ = start32.ao start64.ao desctab.ao
+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