Fixed behavior of VTerm when driver is set at runtime
[tpg/acess2.git] / Kernel / arch / x86_64 / Makefile
1 #
2 # Acess2 Kernel
3 # i386 Architecture Makefile
4 # arch/i386/Makefile
5
6 MAX_CPUS := 4
7
8 CPPFLAGS        := -DMAX_CPUS=$(MAX_CPUS) -D USE_MP=0
9 CFLAGS          := $(KERNEL_CFLAGS) -mno-sse -mno-mmx
10 ASFLAGS         := -f elf64 -D MAX_CPUS=$(MAX_CPUS) -D USE_MP=0
11 LDFLAGS         := -nostdlib -nodefaultlibs
12
13 ifeq ($(ARCH),amd64)
14         ASFLAGS += -D AMD64=1
15         CPPFLAGS += -DAMD64=1
16 else
17         ifeq ($(ARCH),x86_64)
18                 ASFLAGS += -D AMD64=0 -D X86_64=1
19                 CPPFLAGS += -DAMD64=0 -DX86_64=1
20         endif
21 endif
22         
23
24 A_OBJ  = start32.ao start64.ao desctab.ao
25 A_OBJ += main.o lib.o proc.o mm_virt.o mm_phys.o vm8086.o
26 A_OBJ += kernelpanic.o errors.o

UCC git Repository :: git.ucc.asn.au