X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2FMakefile;h=708c8dc135671a10e756f6a6f17282a0be8f5d5e;hb=049de1f2533477716a12a708c097b199eaa8fb6c;hp=051d126e0d068d04bbbcc90b149c40efaf01848b;hpb=9d3800f60f2212432e550a4e003ae65b498a4d36;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/Makefile b/Kernel/arch/x86/Makefile index 051d126e..708c8dc1 100644 --- a/Kernel/arch/x86/Makefile +++ b/Kernel/arch/x86/Makefile @@ -13,6 +13,23 @@ CPPFLAGS = CFLAGS = ASFLAGS = -f elf +ifeq ($(ARCH),i386) + ASFLAGS += -D USE_MP=0 -D USE_PAE=0 + CPPFLAGS += -DUSE_MP=0 -DUSE_PAE=0 +else + ifeq ($(ARCH),i486) + ASFLAGS += -D USE_MP=1 -D USE_PAE=0 + CPPFLAGS += -DUSE_MP=1 -DUSE_PAE=0 + else + ifeq ($(ARCH),i586) + ASFLAGS += -D USE_MP=1 -D USE_PAE=1 + CPPFLAGS += -DUSE_MP=1 -DUSE_PAE=1 + endif + endif +endif + + A_OBJ = start.ao main.o lib.o desctab.ao errors.o irq.o A_OBJ += mm_phys.o mm_virt.o -A_OBJ += proc.o time.o +A_OBJ += proc.o time.o vm8086.o +#A_OBJ += gdb_stub.o