summaryrefslogtreecommitdiffstats
path: root/post/lib_powerpc/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-28 12:09:58 +0900
committerTom Rini <trini@ti.com>2013-12-13 09:17:33 -0500
commit755e08f0e56c014c106b88b8618de2c1987f393b (patch)
treea10a4b5a7ae3a6be8c8fa91a4d3ebbffee7a6494 /post/lib_powerpc/Makefile
parent8e9a6cb169ff21132ef4b56b6399419e1034da4c (diff)
downloadblackbird-obmc-uboot-755e08f0e56c014c106b88b8618de2c1987f393b.tar.gz
blackbird-obmc-uboot-755e08f0e56c014c106b88b8618de2c1987f393b.zip
post: descend only when CONFIG_HAS_POST is defined
All objects under post/ directory are enabled by CONFIG_HAS_POST. (post/tests.o is enabled by CONFIG_POST_STD_LIST. But CONFIG_POST_STD_LIST depends on CONFIG_HAS_POST.) We can move CONFIG_HAS_POST switch to the top Makefile. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'post/lib_powerpc/Makefile')
-rw-r--r--post/lib_powerpc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/post/lib_powerpc/Makefile b/post/lib_powerpc/Makefile
index d2b8a940df..0cbb6b6bd2 100644
--- a/post/lib_powerpc/Makefile
+++ b/post/lib_powerpc/Makefile
@@ -5,9 +5,9 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-$(CONFIG_HAS_POST) += asm.o
-obj-$(CONFIG_HAS_POST) += cpu.o cmp.o cmpi.o two.o twox.o three.o threex.o
-obj-$(CONFIG_HAS_POST) += threei.o andi.o srawi.o rlwnm.o rlwinm.o rlwimi.o
-obj-$(CONFIG_HAS_POST) += store.o load.o cr.o b.o multi.o string.o complex.o
+obj-y += asm.o
+obj-y += cpu.o cmp.o cmpi.o two.o twox.o three.o threex.o
+obj-y += threei.o andi.o srawi.o rlwnm.o rlwinm.o rlwimi.o
+obj-y += store.o load.o cr.o b.o multi.o string.o complex.o
-obj-$(CONFIG_HAS_POST) += fpu/
+obj-y += fpu/
OpenPOWER on IntegriCloud