diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-11-28 07:09:59 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-12-16 17:59:42 +0400 |
commit | e8a8b8246a5e7dee9db19b14b31039389ccf99af (patch) | |
tree | 37cc7a667f5daf371a6df2a8636da4b9c27b2e81 /post/Makefile | |
parent | 6bb6049bf2ecde91b62a4b3d55fa6ee8ed61520e (diff) | |
download | u-boot-e8a8b8246a5e7dee9db19b14b31039389ccf99af.tar.xz |
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>
Diffstat (limited to 'post/Makefile')
-rw-r--r-- | post/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/post/Makefile b/post/Makefile index 20a463a345..2fa6f8a295 100644 --- a/post/Makefile +++ b/post/Makefile @@ -10,9 +10,9 @@ obj-$(CONFIG_POST_STD_LIST) += tests.o obj-y += drivers/ obj-$(CONFIG_PPC) += lib_powerpc/ -ifneq ($(filter mpc83xx mpc8xx ppc4xx,$(CPU)),) -obj-y += cpu/$(CPU)/ -endif +obj-$(CONFIG_MPC83xx) += cpu/mpc83xx/ +obj-$(CONFIG_8xx) += cpu/mpc8xx/ +obj-$(CONFIG_4xx) += cpu/ppc4xx/ ifneq ($(filter lwmon lwmon5 netta pdm360ng,$(BOARD)),) obj-y += board/$(BOARD)/ endif |