Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU)
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 28 Nov 2013 03:09:59 +0000 (12:09 +0900)
committerTom Rini <trini@ti.com>
Mon, 16 Dec 2013 13:59:42 +0000 (08:59 -0500)
commite8a8b8246a5e7dee9db19b14b31039389ccf99af
tree37cc7a667f5daf371a6df2a8636da4b9c27b2e81
parent6bb6049bf2ecde91b62a4b3d55fa6ee8ed61520e
Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU)

Convert like follows:

 CPU mpc83xx  -> CONFIG_MPC83xx
 CPU mpc85xx  -> CONFIG_MPC85xx
 CPU mpc86xx  -> CONFIG_MPC86xx
 CPU mpc5xxx  -> CONFIG_MPC5xxx
 CPU mpc8xx   -> CONFIG_8xx
 CPU mpc8260  -> CONFIG_8260
 CPU ppc4xx   -> CONFIG_4xx
 CPU x86      -> CONFIG_X86
 ARCH x86     -> CONFIG_X86
 ARCH powerpc -> CONFIG_PPC

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile
arch/powerpc/cpu/Makefile
arch/powerpc/cpu/mpc8xxx/Makefile
examples/standalone/Makefile
post/Makefile
spl/Makefile