Kernel - Slight reworks to timer code
[tpg/acess2.git] / Kernel / arch / x86 / Makefile
index 41a10bc..c83a5af 100644 (file)
@@ -3,33 +3,24 @@
 # i386 Architecture Makefile
 # arch/i386/Makefile
 
-# Assuming build machine is 32-bit ELF
-#CC = gcc
-#AS = nasm
-#LD = ld
-#OBJDUMP = objdump
+AS_SUFFIX = asm
 
 CPPFLAGS       =
 CFLAGS         =
 ASFLAGS                = -f elf
 
 USE_MP=0
-USE_PAE=0
 
-ifeq ($(ARCH),i386)
+ifeq ($(PLATFORM),default)
        USE_MP=0
-       USE_PAE=0
-else ifeq ($(ARCH),i486)
+else ifeq ($(PLATFORM),smp)
        USE_MP=1
-else ifeq ($(ARCH),i586)
-       USE_MP=1
-       USE_PAE=1
 endif
 
-ASFLAGS += -D USE_MP=$(USE_MP) -D USE_PAE=$(USE_PAE)
-CPPFLAGS += -DUSE_MP=$(USE_MP) -DUSE_PAE=$(USE_PAE)
+ASFLAGS += -D USE_MP=$(USE_MP)
+CPPFLAGS += -DUSE_MP=$(USE_MP)
 
 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 proc.ao time.o vm8086.o
-A_OBJ += kpanic.o
+A_OBJ += kpanic.o pci.o

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