Add flags that VMs need. But many other things do as well.
[akaros.git] / kern / arch / x86 / Kbuild
index e0713b7..f715a05 100644 (file)
@@ -2,8 +2,8 @@ obj-y                                           += apic.o
 obj-y                                          += colored_caches.o
 obj-y                                          += console.o
 obj-y                                          += cpuinfo.o
-obj-y                                          += entry.o
-obj-y                                          += env.o
+obj-y                                          += entry$(BITS).o
+obj-y                                          += emulate.o
 obj-y                                          += frontend.o
 obj-y                                          += init.o
 obj-y                                          += ioapic.o
@@ -13,11 +13,13 @@ obj-y                                               += mptables.o
 obj-y                                          += page_alloc.o
 obj-y                                          += pci.o
 obj-y                                          += perfmon.o
-obj-y                                          += pmap.o
-obj-y                                          += process.o
+obj-y                                          += pmap.o pmap$(BITS).o
+obj-y                                          += process$(BITS).o
 obj-y                                          += rdtsc_test.o
+obj-y                                          += setjmp$(BITS).o
 obj-y                                          += smp.o
 obj-y                                          += smp_boot.o
-obj-y                                          += smp_entry.o
-obj-y                                          += trap.o
-obj-y                                          += trapentry.o
+obj-y                                          += smp_entry$(BITS).o
+obj-y                                          += trap.o trap$(BITS).o
+obj-y                                          += trapentry$(BITS).o
+#obj-y                                         += vm.o