--- src/cpu/amd/socket_AM2/Makefile.inc (revision 0) +++ src/cpu/amd/socket_AM2/Makefile.inc (revision 0) @@ -0,0 +1,16 @@ +obj-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2.o +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../model_fxx + +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../dualcore +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../mtrr +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../microcode +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/tsc +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/mtrr +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/fpu +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/mmx +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/sse +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/lapic +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/cache +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/mtrr +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/pae +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += ../../x86/smm
-source src/cpu/amd/model_fxx/Kconfig Index: src/cpu/amd/socket_F/Makefile.inc =================================================================== --- src/cpu/amd/socket_F/Makefile.inc (revision 4543) +++ src/cpu/amd/socket_F/Makefile.inc (working copy) @@ -1,7 +1,9 @@ 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) += ../microcode subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/tsc subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/mtrr subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/fpu
These conditionals are not necessary. The Makefile.inc is already conditionally included. That makes these redundant.
So for these two files, replace the -$(CONFIG_CPU_...) with -y.
With that change, Acked-by: Ronald G. Minnich rminnich@gmail.com
ron