Patchwork Kbuild support for Asus M2V-MX-SE

login
register
about
Submitter ron minnich
Date 2009-08-14 15:28:28
Message ID <13426df10908140828x1faa35b8k1c5d7d3dcf674c7e@mail.gmail.com>
Download mbox | patch
Permalink /patch/130/
State Accepted
Headers show

Comments

ron minnich - 2009-08-14 15:28:28
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

Patch

--- 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