summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/Makefile.inc1
-rw-r--r--src/cpu/amd/dualcore/Makefile.inc3
-rw-r--r--src/cpu/amd/model_fxx/Makefile.inc6
-rw-r--r--src/cpu/amd/mtrr/Makefile.inc1
-rw-r--r--src/cpu/amd/socket_F/Makefile.inc14
5 files changed, 25 insertions, 0 deletions
diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc
new file mode 100644
index 0000000000..c63bc2bb86
--- /dev/null
+++ b/src/cpu/amd/Makefile.inc
@@ -0,0 +1 @@
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
diff --git a/src/cpu/amd/dualcore/Makefile.inc b/src/cpu/amd/dualcore/Makefile.inc
new file mode 100644
index 0000000000..90a7ee55ef
--- /dev/null
+++ b/src/cpu/amd/dualcore/Makefile.inc
@@ -0,0 +1,3 @@
+# This is a leaf makefile, no conditionals. If it is included it will
+# be used.
+obj-y += amd_sibling.o
diff --git a/src/cpu/amd/model_fxx/Makefile.inc b/src/cpu/amd/model_fxx/Makefile.inc
new file mode 100644
index 0000000000..ea3088b46a
--- /dev/null
+++ b/src/cpu/amd/model_fxx/Makefile.inc
@@ -0,0 +1,6 @@
+# no conditionals here. If you include this file from a socket, then you get all the binaries.
+driver-y += model_fxx_init.o
+obj-y += apic_timer.o
+obj-y += model_fxx_update_microcode.o
+obj-y += processor_name.o
+obj-y += powernow_acpi.o
diff --git a/src/cpu/amd/mtrr/Makefile.inc b/src/cpu/amd/mtrr/Makefile.inc
new file mode 100644
index 0000000000..2978a397ac
--- /dev/null
+++ b/src/cpu/amd/mtrr/Makefile.inc
@@ -0,0 +1 @@
+obj-y += amd_mtrr.o
diff --git a/src/cpu/amd/socket_F/Makefile.inc b/src/cpu/amd/socket_F/Makefile.inc
new file mode 100644
index 0000000000..bd9885c414
--- /dev/null
+++ b/src/cpu/amd/socket_F/Makefile.inc
@@ -0,0 +1,14 @@
+obj-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F.o
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../model_fxx
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../dualcore
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../mtrr
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/tsc
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/mtrr
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/fpu
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/mmx
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/sse
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/lapic
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/cache
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/mtrr
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/pae
+subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/smm