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>
This commit is contained in:
committed by
Tom Rini
parent
8e9a6cb169
commit
755e08f0e5
@@ -5,4 +5,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-$(CONFIG_HAS_POST) += ecc.o
|
||||
obj-y += ecc.o
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-$(CONFIG_HAS_POST) += cache_4xx.o
|
||||
obj-$(CONFIG_HAS_POST) += cache.o
|
||||
obj-$(CONFIG_HAS_POST) += denali_ecc.o
|
||||
obj-$(CONFIG_HAS_POST) += ether.o
|
||||
obj-$(CONFIG_HAS_POST) += fpu.o
|
||||
obj-$(CONFIG_HAS_POST) += ocm.o
|
||||
obj-$(CONFIG_HAS_POST) += spr.o
|
||||
obj-$(CONFIG_HAS_POST) += uart.o
|
||||
obj-$(CONFIG_HAS_POST) += watchdog.o
|
||||
obj-y += cache_4xx.o
|
||||
obj-y += cache.o
|
||||
obj-y += denali_ecc.o
|
||||
obj-y += ether.o
|
||||
obj-y += fpu.o
|
||||
obj-y += ocm.o
|
||||
obj-y += spr.o
|
||||
obj-y += uart.o
|
||||
obj-y += watchdog.o
|
||||
|
||||
Reference in New Issue
Block a user