mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Tom Rini

parent
6bb6049bf2
commit
e8a8b8246a
@ -1,3 +1,3 @@
|
||||
ifneq ($(filter mpc83xx mpc85xx mpc86xx,$(CPU)),)
|
||||
obj-y += mpc8xxx/
|
||||
endif
|
||||
obj-$(CONFIG_MPC83xx) += mpc8xxx/
|
||||
obj-$(CONFIG_MPC85xx) += mpc8xxx/
|
||||
obj-$(CONFIG_MPC86xx) += mpc8xxx/
|
||||
|
Reference in New Issue
Block a user