summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-02-23 16:54:20 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-02-23 16:54:20 +0000
commit8dc4b933b180edd850b8a778fb9593fc17340827 (patch)
treed9f2f13e43d77469baeeb4b1feb8a80954217354
parentb7bc3f369df30d0a2606d95fe59e8f757b3d791b (diff)
Only handle code as "driver" that actually uses our driver
infrastructure (special linking, data structures, etc) Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5150 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/Makefile.k8_CAR.inc2
-rw-r--r--src/mainboard/Makefile.k8_ck804.inc2
-rw-r--r--src/mainboard/Makefile.romccboard.inc2
-rw-r--r--src/mainboard/amd/db800/Makefile.inc2
-rw-r--r--src/mainboard/amd/dbm690t/Makefile.inc2
-rw-r--r--src/mainboard/amd/norwich/Makefile.inc2
-rw-r--r--src/mainboard/amd/pistachio/Makefile.inc2
-rw-r--r--src/mainboard/amd/serengeti_cheetah/Makefile.inc4
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/Makefile.inc4
-rw-r--r--src/mainboard/artecgroup/dbe61/Makefile.inc2
-rw-r--r--src/mainboard/asus/a8n_e/Makefile.inc2
-rw-r--r--src/mainboard/asus/a8v-e_se/Makefile.inc2
-rw-r--r--src/mainboard/asus/m2v-mx_se/Makefile.inc2
-rw-r--r--src/mainboard/broadcom/blast/Makefile.inc2
-rw-r--r--src/mainboard/digitallogic/msm800sev/Makefile.inc2
-rw-r--r--src/mainboard/gigabyte/ga_2761gxdk/Makefile.inc2
-rw-r--r--src/mainboard/gigabyte/m57sli/Makefile.inc2
-rw-r--r--src/mainboard/iei/pcisa-lx-800-r10/Makefile.inc2
-rw-r--r--src/mainboard/intel/d945gclf/Makefile.inc4
-rw-r--r--src/mainboard/intel/eagleheights/Makefile.inc2
-rw-r--r--src/mainboard/iwill/dk8_htx/Makefile.inc2
-rw-r--r--src/mainboard/kontron/986lcd-m/Makefile.inc4
-rw-r--r--src/mainboard/kontron/kt690/Makefile.inc2
-rw-r--r--src/mainboard/lippert/roadrunner-lx/Makefile.inc2
-rw-r--r--src/mainboard/lippert/spacerunner-lx/Makefile.inc2
-rw-r--r--src/mainboard/msi/ms7260/Makefile.inc2
-rw-r--r--src/mainboard/msi/ms9282/Makefile.inc6
-rw-r--r--src/mainboard/nvidia/l1_2pvv/Makefile.inc2
-rw-r--r--src/mainboard/pcengines/alix1c/Makefile.inc2
-rw-r--r--src/mainboard/roda/rk886ex/Makefile.inc8
-rw-r--r--src/mainboard/supermicro/h8dme/Makefile.inc4
-rw-r--r--src/mainboard/supermicro/h8dmr/Makefile.inc2
-rw-r--r--src/mainboard/supermicro/h8dmr_fam10/Makefile.inc2
-rw-r--r--src/mainboard/supermicro/h8qme_fam10/Makefile.inc2
-rw-r--r--src/mainboard/supermicro/x6dhe_g/Makefile.inc2
-rw-r--r--src/mainboard/supermicro/x6dhe_g2/Makefile.inc2
-rw-r--r--src/mainboard/technexion/tim5690/Makefile.inc2
-rw-r--r--src/mainboard/technexion/tim8690/Makefile.inc2
-rw-r--r--src/mainboard/tyan/s2735/Makefile.inc4
-rw-r--r--src/mainboard/tyan/s2881/Makefile.inc2
-rw-r--r--src/mainboard/tyan/s2892/Makefile.inc2
-rw-r--r--src/mainboard/tyan/s2912/Makefile.inc2
-rw-r--r--src/mainboard/tyan/s2912_fam10/Makefile.inc2
-rw-r--r--src/mainboard/via/vt8454c/Makefile.inc2
44 files changed, 55 insertions, 55 deletions
diff --git a/src/mainboard/Makefile.k8_CAR.inc b/src/mainboard/Makefile.k8_CAR.inc
index f10961071e..accde548d7 100644
--- a/src/mainboard/Makefile.k8_CAR.inc
+++ b/src/mainboard/Makefile.k8_CAR.inc
@@ -23,7 +23,7 @@
## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
##
-driver-y += mainboard.o
+obj-y += mainboard.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/Makefile.k8_ck804.inc b/src/mainboard/Makefile.k8_ck804.inc
index 6ac5ea3778..350d938052 100644
--- a/src/mainboard/Makefile.k8_ck804.inc
+++ b/src/mainboard/Makefile.k8_ck804.inc
@@ -23,7 +23,7 @@
## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/Makefile.romccboard.inc b/src/mainboard/Makefile.romccboard.inc
index 6a50b50946..a94fd75961 100644
--- a/src/mainboard/Makefile.romccboard.inc
+++ b/src/mainboard/Makefile.romccboard.inc
@@ -61,7 +61,7 @@ ldscripts += $(src)/arch/i386/lib/id.lds
ldscripts += $(src)/arch/i386/lib/failover.lds
endif
-driver-y += mainboard.o
+obj-y += mainboard.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/amd/db800/Makefile.inc b/src/mainboard/amd/db800/Makefile.inc
index f91c98550e..5bace682ab 100644
--- a/src/mainboard/amd/db800/Makefile.inc
+++ b/src/mainboard/amd/db800/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/amd/dbm690t/Makefile.inc b/src/mainboard/amd/dbm690t/Makefile.inc
index 5eecc49e79..d8de19556c 100644
--- a/src/mainboard/amd/dbm690t/Makefile.inc
+++ b/src/mainboard/amd/dbm690t/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/amd/norwich/Makefile.inc b/src/mainboard/amd/norwich/Makefile.inc
index e0f1c2535f..1327c63b3b 100644
--- a/src/mainboard/amd/norwich/Makefile.inc
+++ b/src/mainboard/amd/norwich/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/amd/pistachio/Makefile.inc b/src/mainboard/amd/pistachio/Makefile.inc
index 4390a6437f..0077b008d5 100644
--- a/src/mainboard/amd/pistachio/Makefile.inc
+++ b/src/mainboard/amd/pistachio/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/amd/serengeti_cheetah/Makefile.inc b/src/mainboard/amd/serengeti_cheetah/Makefile.inc
index 7bbacc8dc5..5801d30836 100644
--- a/src/mainboard/amd/serengeti_cheetah/Makefile.inc
+++ b/src/mainboard/amd/serengeti_cheetah/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
@@ -30,7 +30,7 @@ obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt4.o
obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
-driver-y += ../../../drivers/i2c/i2cmux/i2cmux.o
+obj-y += ../../../drivers/i2c/i2cmux/i2cmux.o
# This is part of the conversion to init-obj and away from included code.
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/Makefile.inc b/src/mainboard/amd/serengeti_cheetah_fam10/Makefile.inc
index 9066af2d66..c8af83e148 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/Makefile.inc
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
@@ -33,7 +33,7 @@ obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt3.o
obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt4.o
obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt5.o
-driver-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
+obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
# This is part of the conversion to init-obj and away from included code.
diff --git a/src/mainboard/artecgroup/dbe61/Makefile.inc b/src/mainboard/artecgroup/dbe61/Makefile.inc
index e0f1c2535f..1327c63b3b 100644
--- a/src/mainboard/artecgroup/dbe61/Makefile.inc
+++ b/src/mainboard/artecgroup/dbe61/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/asus/a8n_e/Makefile.inc b/src/mainboard/asus/a8n_e/Makefile.inc
index 52f42aa134..7be885beda 100644
--- a/src/mainboard/asus/a8n_e/Makefile.inc
+++ b/src/mainboard/asus/a8n_e/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/asus/a8v-e_se/Makefile.inc b/src/mainboard/asus/a8v-e_se/Makefile.inc
index eba41a1f82..1eb7fe5880 100644
--- a/src/mainboard/asus/a8v-e_se/Makefile.inc
+++ b/src/mainboard/asus/a8v-e_se/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
diff --git a/src/mainboard/asus/m2v-mx_se/Makefile.inc b/src/mainboard/asus/m2v-mx_se/Makefile.inc
index 3675df5696..c537485f2f 100644
--- a/src/mainboard/asus/m2v-mx_se/Makefile.inc
+++ b/src/mainboard/asus/m2v-mx_se/Makefile.inc
@@ -18,7 +18,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
diff --git a/src/mainboard/broadcom/blast/Makefile.inc b/src/mainboard/broadcom/blast/Makefile.inc
index 6d9cdc42dc..27a2d53ebe 100644
--- a/src/mainboard/broadcom/blast/Makefile.inc
+++ b/src/mainboard/broadcom/blast/Makefile.inc
@@ -3,5 +3,5 @@ include $(src)/mainboard/Makefile.k8_CAR.inc
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
-driver-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
+obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
diff --git a/src/mainboard/digitallogic/msm800sev/Makefile.inc b/src/mainboard/digitallogic/msm800sev/Makefile.inc
index e0f1c2535f..1327c63b3b 100644
--- a/src/mainboard/digitallogic/msm800sev/Makefile.inc
+++ b/src/mainboard/digitallogic/msm800sev/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/Makefile.inc b/src/mainboard/gigabyte/ga_2761gxdk/Makefile.inc
index 9d985f268d..92bd0a88a8 100644
--- a/src/mainboard/gigabyte/ga_2761gxdk/Makefile.inc
+++ b/src/mainboard/gigabyte/ga_2761gxdk/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/gigabyte/m57sli/Makefile.inc b/src/mainboard/gigabyte/m57sli/Makefile.inc
index 59f4286743..cc2ea04ff5 100644
--- a/src/mainboard/gigabyte/m57sli/Makefile.inc
+++ b/src/mainboard/gigabyte/m57sli/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/iei/pcisa-lx-800-r10/Makefile.inc b/src/mainboard/iei/pcisa-lx-800-r10/Makefile.inc
index e0f1c2535f..1327c63b3b 100644
--- a/src/mainboard/iei/pcisa-lx-800-r10/Makefile.inc
+++ b/src/mainboard/iei/pcisa-lx-800-r10/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/intel/d945gclf/Makefile.inc b/src/mainboard/intel/d945gclf/Makefile.inc
index 2d45c26772..7f817de061 100644
--- a/src/mainboard/intel/d945gclf/Makefile.inc
+++ b/src/mainboard/intel/d945gclf/Makefile.inc
@@ -21,8 +21,8 @@
## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
##
-driver-y += mainboard.o
-driver-y += rtl8168.o
+obj-y += mainboard.o
+obj-y += rtl8168.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/intel/eagleheights/Makefile.inc b/src/mainboard/intel/eagleheights/Makefile.inc
index 78fac918ab..9e17a56a12 100644
--- a/src/mainboard/intel/eagleheights/Makefile.inc
+++ b/src/mainboard/intel/eagleheights/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
diff --git a/src/mainboard/iwill/dk8_htx/Makefile.inc b/src/mainboard/iwill/dk8_htx/Makefile.inc
index 0b73533c6f..ecf24c0733 100644
--- a/src/mainboard/iwill/dk8_htx/Makefile.inc
+++ b/src/mainboard/iwill/dk8_htx/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/kontron/986lcd-m/Makefile.inc b/src/mainboard/kontron/986lcd-m/Makefile.inc
index d912628dc9..d1a1dedfe7 100644
--- a/src/mainboard/kontron/986lcd-m/Makefile.inc
+++ b/src/mainboard/kontron/986lcd-m/Makefile.inc
@@ -21,8 +21,8 @@
## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
##
-driver-y += mainboard.o
-driver-y += rtl8168.o
+obj-y += mainboard.o
+obj-y += rtl8168.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/kontron/kt690/Makefile.inc b/src/mainboard/kontron/kt690/Makefile.inc
index 4390a6437f..0077b008d5 100644
--- a/src/mainboard/kontron/kt690/Makefile.inc
+++ b/src/mainboard/kontron/kt690/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/lippert/roadrunner-lx/Makefile.inc b/src/mainboard/lippert/roadrunner-lx/Makefile.inc
index e0f1c2535f..1327c63b3b 100644
--- a/src/mainboard/lippert/roadrunner-lx/Makefile.inc
+++ b/src/mainboard/lippert/roadrunner-lx/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/lippert/spacerunner-lx/Makefile.inc b/src/mainboard/lippert/spacerunner-lx/Makefile.inc
index e0f1c2535f..1327c63b3b 100644
--- a/src/mainboard/lippert/spacerunner-lx/Makefile.inc
+++ b/src/mainboard/lippert/spacerunner-lx/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/msi/ms7260/Makefile.inc b/src/mainboard/msi/ms7260/Makefile.inc
index 9d985f268d..92bd0a88a8 100644
--- a/src/mainboard/msi/ms7260/Makefile.inc
+++ b/src/mainboard/msi/ms7260/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/msi/ms9282/Makefile.inc b/src/mainboard/msi/ms9282/Makefile.inc
index 2923c92dac..2a4889c9b3 100644
--- a/src/mainboard/msi/ms9282/Makefile.inc
+++ b/src/mainboard/msi/ms9282/Makefile.inc
@@ -17,9 +17,9 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
-driver-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
-driver-y += ../../../drivers/i2c/adm1027/adm1027.o
+obj-y += mainboard.o
+obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
+obj-y += ../../../drivers/i2c/adm1027/adm1027.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/nvidia/l1_2pvv/Makefile.inc b/src/mainboard/nvidia/l1_2pvv/Makefile.inc
index 619ef2bd58..3187526b84 100644
--- a/src/mainboard/nvidia/l1_2pvv/Makefile.inc
+++ b/src/mainboard/nvidia/l1_2pvv/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/pcengines/alix1c/Makefile.inc b/src/mainboard/pcengines/alix1c/Makefile.inc
index e0f1c2535f..1327c63b3b 100644
--- a/src/mainboard/pcengines/alix1c/Makefile.inc
+++ b/src/mainboard/pcengines/alix1c/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/roda/rk886ex/Makefile.inc b/src/mainboard/roda/rk886ex/Makefile.inc
index b727a027fb..93fbb13100 100644
--- a/src/mainboard/roda/rk886ex/Makefile.inc
+++ b/src/mainboard/roda/rk886ex/Makefile.inc
@@ -21,10 +21,10 @@
## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
##
-driver-y += mainboard.o
-driver-y += m3885.o
-driver-y += ec.o
-driver-y += rtl8168.o
+obj-y += mainboard.o
+obj-y += m3885.o
+obj-y += ec.o
+obj-y += rtl8168.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
diff --git a/src/mainboard/supermicro/h8dme/Makefile.inc b/src/mainboard/supermicro/h8dme/Makefile.inc
index 8f52997970..eb6bafadf6 100644
--- a/src/mainboard/supermicro/h8dme/Makefile.inc
+++ b/src/mainboard/supermicro/h8dme/Makefile.inc
@@ -17,8 +17,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
-driver-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
+obj-y += mainboard.o
+obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/supermicro/h8dmr/Makefile.inc b/src/mainboard/supermicro/h8dmr/Makefile.inc
index 3ee6226b95..f72360a50d 100644
--- a/src/mainboard/supermicro/h8dmr/Makefile.inc
+++ b/src/mainboard/supermicro/h8dmr/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc b/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc
index 9787480da1..3ac7ef4443 100644
--- a/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc
+++ b/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/supermicro/h8qme_fam10/Makefile.inc b/src/mainboard/supermicro/h8qme_fam10/Makefile.inc
index 9787480da1..3ac7ef4443 100644
--- a/src/mainboard/supermicro/h8qme_fam10/Makefile.inc
+++ b/src/mainboard/supermicro/h8qme_fam10/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/supermicro/x6dhe_g/Makefile.inc b/src/mainboard/supermicro/x6dhe_g/Makefile.inc
index 3f08355d04..f900af66dc 100644
--- a/src/mainboard/supermicro/x6dhe_g/Makefile.inc
+++ b/src/mainboard/supermicro/x6dhe_g/Makefile.inc
@@ -21,5 +21,5 @@
ROMCCFLAGS=-mcpu=p4 -O2
obj-$(CONFIG_HAVE_HARD_RESET) += reset.o
include $(src)/mainboard/Makefile.romccboard.inc
-driver-y += ../../../drivers/generic/debug/debug_dev.o
+obj-y += ../../../drivers/generic/debug/debug_dev.o
diff --git a/src/mainboard/supermicro/x6dhe_g2/Makefile.inc b/src/mainboard/supermicro/x6dhe_g2/Makefile.inc
index 3f08355d04..f900af66dc 100644
--- a/src/mainboard/supermicro/x6dhe_g2/Makefile.inc
+++ b/src/mainboard/supermicro/x6dhe_g2/Makefile.inc
@@ -21,5 +21,5 @@
ROMCCFLAGS=-mcpu=p4 -O2
obj-$(CONFIG_HAVE_HARD_RESET) += reset.o
include $(src)/mainboard/Makefile.romccboard.inc
-driver-y += ../../../drivers/generic/debug/debug_dev.o
+obj-y += ../../../drivers/generic/debug/debug_dev.o
diff --git a/src/mainboard/technexion/tim5690/Makefile.inc b/src/mainboard/technexion/tim5690/Makefile.inc
index 4d9ffeaae9..b739f71249 100644
--- a/src/mainboard/technexion/tim5690/Makefile.inc
+++ b/src/mainboard/technexion/tim5690/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/technexion/tim8690/Makefile.inc b/src/mainboard/technexion/tim8690/Makefile.inc
index 4390a6437f..0077b008d5 100644
--- a/src/mainboard/technexion/tim8690/Makefile.inc
+++ b/src/mainboard/technexion/tim8690/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
# Needed by irq_tables and mptable and acpi_tables.
obj-y += get_bus_conf.o
diff --git a/src/mainboard/tyan/s2735/Makefile.inc b/src/mainboard/tyan/s2735/Makefile.inc
index fc4bf9c478..9dcb8a517b 100644
--- a/src/mainboard/tyan/s2735/Makefile.inc
+++ b/src/mainboard/tyan/s2735/Makefile.inc
@@ -21,13 +21,13 @@
## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
##
-driver-y += mainboard.o
+obj-y += mainboard.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
obj-$(CONFIG_HAVE_HARD_RESET) += reset.o
-#driver-y += ../../../drivers/i2c/i2cmux/i2cmux.o
+#obj-y += ../../../drivers/i2c/i2cmux/i2cmux.o
# This is part of the conversion to init-obj and away from included code.
diff --git a/src/mainboard/tyan/s2881/Makefile.inc b/src/mainboard/tyan/s2881/Makefile.inc
index c977ed3387..aa0510402f 100644
--- a/src/mainboard/tyan/s2881/Makefile.inc
+++ b/src/mainboard/tyan/s2881/Makefile.inc
@@ -1,3 +1,3 @@
include $(src)/mainboard/Makefile.k8_CAR.inc
obj-y += get_bus_conf.o
-driver-y += ../../../drivers/i2c/adm1027/adm1027.o
+obj-y += ../../../drivers/i2c/adm1027/adm1027.o
diff --git a/src/mainboard/tyan/s2892/Makefile.inc b/src/mainboard/tyan/s2892/Makefile.inc
index 2d36853ab7..c78f133554 100644
--- a/src/mainboard/tyan/s2892/Makefile.inc
+++ b/src/mainboard/tyan/s2892/Makefile.inc
@@ -1,3 +1,3 @@
include $(src)/mainboard/Makefile.k8_ck804.inc
-driver-y += ../../../drivers/i2c/adm1027/adm1027.o
+obj-y += ../../../drivers/i2c/adm1027/adm1027.o
diff --git a/src/mainboard/tyan/s2912/Makefile.inc b/src/mainboard/tyan/s2912/Makefile.inc
index 619ef2bd58..3187526b84 100644
--- a/src/mainboard/tyan/s2912/Makefile.inc
+++ b/src/mainboard/tyan/s2912/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/tyan/s2912_fam10/Makefile.inc b/src/mainboard/tyan/s2912_fam10/Makefile.inc
index 571c89144a..08a9ee5520 100644
--- a/src/mainboard/tyan/s2912_fam10/Makefile.inc
+++ b/src/mainboard/tyan/s2912_fam10/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
#needed by irq_tables and mptable and acpi_tables
obj-y += get_bus_conf.o
diff --git a/src/mainboard/via/vt8454c/Makefile.inc b/src/mainboard/via/vt8454c/Makefile.inc
index 6efb046d2c..25d541c71e 100644
--- a/src/mainboard/via/vt8454c/Makefile.inc
+++ b/src/mainboard/via/vt8454c/Makefile.inc
@@ -17,7 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mainboard.o
+obj-y += mainboard.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o