summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/omap/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-13 18:30:27 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:10:05 -0500
commitca53735a4cd6cc8159e1a9515446e81230dc5b27 (patch)
treeba1b466a043da80a329899b2283147b29c73d3ee /arch/arm/cpu/arm926ejs/omap/Makefile
parent365475e6d14bc1ea9d218c0fd1fe96878a9db94e (diff)
downloadu-boot-imx-ca53735a4cd6cc8159e1a9515446e81230dc5b27.zip
u-boot-imx-ca53735a4cd6cc8159e1a9515446e81230dc5b27.tar.gz
u-boot-imx-ca53735a4cd6cc8159e1a9515446e81230dc5b27.tar.bz2
Move CONFIG_DISPLAY_CPUINFO to Makefile
If the whole code is surrounded by #ifdef(CONFIG_ ) .. #endif, it should be moved to Makefile. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/omap/Makefile')
-rw-r--r--arch/arm/cpu/arm926ejs/omap/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/omap/Makefile b/arch/arm/cpu/arm926ejs/omap/Makefile
index bd0a2fb..add9232 100644
--- a/arch/arm/cpu/arm926ejs/omap/Makefile
+++ b/arch/arm/cpu/arm926ejs/omap/Makefile
@@ -5,5 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y = timer.o cpuinfo.o
+obj-y = timer.o
+obj-$(CONFIG_DISPLAY_CPUINFO) += cpuinfo.o
obj-y += reset.o