From d82e12858f34770a38dc93136f686ebab0e971ed Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 20 Aug 2009 18:05:31 +0000 Subject: This goes a surprisingly long way to building the epia-n. It also has important corrections to the Kconfig and Makefile.inc that were there. I would like to go ahead and get this in, because I don't want anyone to continue using what is in the upstream tree as it now exists. I also tested old-style build with this and it did not break anything. Signed-off-by: Ronald G. Minnich Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4559 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/via/Makefile.inc | 5 +++-- src/cpu/via/model_c3/Kconfig | 3 +++ src/cpu/via/model_c3/Makefile.inc | 11 +++++++++++ src/cpu/via/model_c7/Makefile.inc | 20 +++++++++----------- 4 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 src/cpu/via/model_c3/Kconfig create mode 100644 src/cpu/via/model_c3/Makefile.inc (limited to 'src/cpu') diff --git a/src/cpu/via/Makefile.inc b/src/cpu/via/Makefile.inc index 6d62f22619..512f82b02e 100644 --- a/src/cpu/via/Makefile.inc +++ b/src/cpu/via/Makefile.inc @@ -1,2 +1,3 @@ -#subdirs-y += model_c7 -subdirs-y += model_c7 +subdirs-$(CONFIG_CPU_VIA_C7) += model_c7 +subdirs-$(CONFIG_CPU_VIA_C3) += model_c3 + diff --git a/src/cpu/via/model_c3/Kconfig b/src/cpu/via/model_c3/Kconfig new file mode 100644 index 0000000000..570f710703 --- /dev/null +++ b/src/cpu/via/model_c3/Kconfig @@ -0,0 +1,3 @@ +config CPU_VIA_C3 + bool + default n diff --git a/src/cpu/via/model_c3/Makefile.inc b/src/cpu/via/model_c3/Makefile.inc new file mode 100644 index 0000000000..4cd19a23c4 --- /dev/null +++ b/src/cpu/via/model_c3/Makefile.inc @@ -0,0 +1,11 @@ +subdirs-y += ../../x86/tsc +subdirs-y += ../../x86/mtrr +subdirs-y += ../../x86/fpu +subdirs-y += ../../x86/mmx +subdirs-y += ../../x86/sse +subdirs-y += ../../x86/lapic +subdirs-y += ../../x86/cache +subdirs-y += ../../x86/smm +subdirs-y += ../../intel/microcode + +obj-y += model_c3_init.o diff --git a/src/cpu/via/model_c7/Makefile.inc b/src/cpu/via/model_c7/Makefile.inc index 8e645eb0a2..e6634c384b 100644 --- a/src/cpu/via/model_c7/Makefile.inc +++ b/src/cpu/via/model_c7/Makefile.inc @@ -1,13 +1,11 @@ -ifeq ($(CONFIG_CPU_VIA_C7),y) - subdirs-y += ../../x86/tsc - subdirs-y += ../../x86/mtrr - subdirs-y += ../../x86/fpu - subdirs-y += ../../x86/mmx - subdirs-y += ../../x86/sse - subdirs-y += ../../x86/lapic - subdirs-y += ../../x86/cache - subdirs-y += ../../x86/smm - subdirs-y += ../../intel/microcode -endif +subdirs-y += ../../x86/tsc +subdirs-y += ../../x86/mtrr +subdirs-y += ../../x86/fpu +subdirs-y += ../../x86/mmx +subdirs-y += ../../x86/sse +subdirs-y += ../../x86/lapic +subdirs-y += ../../x86/cache +subdirs-y += ../../x86/smm +subdirs-y += ../../intel/microcode obj-y += model_c7_init.o -- cgit v1.2.3