Network drivers are built based on CONFIGs
[akaros.git] / kern / arch / i686 / Kbuild
index fcdb59d..05a5493 100644 (file)
@@ -1,26 +1,27 @@
-obj-y                          += apic.o
-obj-y                          += colored_caches.o
-obj-y                          += console.o
-obj-y                          += cpuinfo.o
-obj-y                          += e1000.o
-obj-y                          += entry.o
-obj-y                          += env.o
-obj-y                          += frontend.o
-obj-y                          += init.o
-obj-y                          += ioapic.o
-obj-y                          += kclock.o
-obj-y                          += kdebug.o
-obj-y                          += mptables.o
-obj-y                          += ne2k.o
-obj-y                          += page_alloc.o
-obj-y                          += pci.o
-obj-y                          += perfmon.o
-obj-y                          += pmap.o
-obj-y                          += process.o
-obj-y                          += rdtsc_test.o
-obj-y                          += rl8168.o
-obj-y                          += smp.o
-obj-y                          += smp_boot.o
-obj-y                          += smp_entry.o
-obj-y                          += trap.o
-obj-y                          += trapentry.o
+obj-$(CONFIG_E1000)                    += e1000.o
+obj-$(CONFIG_NE2K)                     += ne2k.o
+obj-$(CONFIG_RL8168)           += rl8168.o
+
+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                                          += frontend.o
+obj-y                                          += init.o
+obj-y                                          += ioapic.o
+obj-y                                          += kclock.o
+obj-y                                          += kdebug.o
+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                                          += rdtsc_test.o
+obj-y                                          += smp.o
+obj-y                                          += smp_boot.o
+obj-y                                          += smp_entry.o
+obj-y                                          += trap.o
+obj-y                                          += trapentry.o