projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU)
[oweals/u-boot.git]
/
arch
/
powerpc
/
cpu
/
Makefile
diff --git
a/arch/powerpc/cpu/Makefile
b/arch/powerpc/cpu/Makefile
index d630abe1da5f37d06e934cab669e15f3214f01d0..88b5298be0ca62a6e5d5a245d14f741112c7bdd4 100644
(file)
--- a/
arch/powerpc/cpu/Makefile
+++ b/
arch/powerpc/cpu/Makefile
@@
-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/