CFLAGS =
ASFLAGS = -f elf
+USE_ACPICA ?= 1
USE_MP=0
ifeq ($(PLATFORM),default)
endif
ASFLAGS += -D USE_MP=$(USE_MP)
-CPPFLAGS += -DUSE_MP=$(USE_MP)
+CPPFLAGS += -DUSE_MP=$(USE_MP) -DUSE_ACPICA=$(USE_ACPICA)
A_OBJ = start.ao main.o mboot.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 pci.o vpci.o
-A_OBJ += acpica.o
+ifeq ($(USE_ACPICA),1)
+A_OBJ += acpica.o
EXTERNS += ACPICA
+endif