Correct usage of Makefile.inc and add support for cn400
authorRonald G. Minnich <rminnich@gmail.com>
Tue, 18 Aug 2009 17:15:39 +0000 (17:15 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Tue, 18 Aug 2009 17:15:39 +0000 (17:15 +0000)
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4552 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/northbridge/via/Makefile.inc
src/northbridge/via/cn400/Kconfig [new file with mode: 0644]
src/northbridge/via/cn400/Makefile.inc [new file with mode: 0644]
src/northbridge/via/cx700/Makefile.inc

index 7062ea5b528f62ad61f0abe0b3eeeb0da491041e..95ac7ecb79c94a7793eee9f8cb0dc2fc3ec97ce6 100644 (file)
@@ -1,6 +1,7 @@
 #subdirs-y += vt8601
 #subdirs-y += vt8623
 #subdirs-y += cn700
-subdirs-y += cx700
+subdirs-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700
+subdirs-$(CONFIG_NORTHBRIDGE_VIA_CN400) += cn400
 #subdirs-y += vx800
 
diff --git a/src/northbridge/via/cn400/Kconfig b/src/northbridge/via/cn400/Kconfig
new file mode 100644 (file)
index 0000000..5df0eb9
--- /dev/null
@@ -0,0 +1,3 @@
+config NORTHBRIDGE_VIA_CN400
+       bool
+       default n
diff --git a/src/northbridge/via/cn400/Makefile.inc b/src/northbridge/via/cn400/Makefile.inc
new file mode 100644 (file)
index 0000000..032f4b7
--- /dev/null
@@ -0,0 +1,27 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2007 Corey Osgood <corey.osgood@gmail.com>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+##
+
+obj-y += vgabios.o
+
+driver-y += northbridge.o
+driver-y += agp.o
+driver-y += vga.o
+driver-y += vlink.o
+
index 1f9e50e993cd9b86fa003a7eb01baeeecd57fde8..e616fecab3d74bda5c9b52836076595efb4efca7 100644 (file)
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
-obj-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_reset.o
-obj-$(CONFIG_NORTHBRIDGE_VIA_CX700) += northbridge.o
-obj-$(CONFIG_NORTHBRIDGE_VIA_CX700) += vgabios.o
+obj-y += cx700_reset.o
+obj-y += northbridge.o
+obj-y += vgabios.o
 
-driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_agp.o
-driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_lpc.o
-driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_sata.o
-driver-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700_vga.o
+driver-y += cx700_agp.o
+driver-y += cx700_lpc.o
+driver-y += cx700_sata.o
+driver-y += cx700_vga.o