summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-21 21:30:09 +0900
committerTom Rini <trini@konsulko.com>2016-06-24 17:24:34 -0400
commitec048369e2d68d60fdb4e0e6b5def08fff0a0be4 (patch)
tree64855bfc8f097649fca49da2fea667d43103370c /arch/arm/cpu/armv7/Makefile
parentf1f9d4fac5274d9b5ae1b0087fb0fcfa00687bac (diff)
downloadu-boot-imx-ec048369e2d68d60fdb4e0e6b5def08fff0a0be4.zip
u-boot-imx-ec048369e2d68d60fdb4e0e6b5def08fff0a0be4.tar.gz
u-boot-imx-ec048369e2d68d60fdb4e0e6b5def08fff0a0be4.tar.bz2
ARM: armv7: refactor Makefile slightly
Use Kbuild standard style where possible. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/cpu/armv7/Makefile')
-rw-r--r--arch/arm/cpu/armv7/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile
index 0a5ac97..ddd8d12 100644
--- 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/