diff options
Diffstat (limited to 'src/cpu/via')
-rw-r--r-- | src/cpu/via/Makefile.inc | 5 | ||||
-rw-r--r-- | src/cpu/via/model_c3/Kconfig | 3 | ||||
-rw-r--r-- | src/cpu/via/model_c3/Makefile.inc | 11 | ||||
-rw-r--r-- | src/cpu/via/model_c7/Makefile.inc | 20 |
4 files changed, 26 insertions, 13 deletions
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 |