projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f9d4f
)
ARM: armv7: refactor Makefile slightly
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Tue, 21 Jun 2016 12:30:09 +0000
(21:30 +0900)
committer
Tom Rini
<trini@konsulko.com>
Fri, 24 Jun 2016 21:24:34 +0000
(17:24 -0400)
Use Kbuild standard style where possible.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/cpu/armv7/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/Makefile
b/arch/arm/cpu/armv7/Makefile
index
0a5ac97
..
ddd8d12
100644
(file)
--- a/
arch/arm/cpu/armv7/Makefile
+++ b/
arch/arm/cpu/armv7/Makefile
@@
-18,15
+18,8
@@
obj-y += lowlevel_init.o
endif
endif
-ifneq ($(CONFIG_ARMV7_NONSEC),)
-obj-y += nonsec_virt.o
-obj-y += virt-v7.o
-obj-y += virt-dt.o
-endif
-
-ifneq ($(CONFIG_ARMV7_PSCI),)
-obj-y += psci.o
-endif
+obj-$(CONFIG_ARMV7_NONSEC) += nonsec_virt.o virt-v7.o virt-dt.o
+obj-$(CONFIG_ARMV7_PSCI) += psci.o
obj-$(CONFIG_IPROC) += iproc-common/
obj-$(CONFIG_KONA) += kona-common/