755e08f0e5
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>
19 lines
395 B
Makefile
19 lines
395 B
Makefile
#
|
|
# (C) Copyright 2002-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += post.o
|
|
obj-$(CONFIG_POST_STD_LIST) += tests.o
|
|
|
|
obj-y += drivers/
|
|
obj-$(CONFIG_PPC) += lib_powerpc/
|
|
ifneq ($(filter mpc83xx mpc8xx ppc4xx,$(CPU)),)
|
|
obj-y += cpu/$(CPU)/
|
|
endif
|
|
ifneq ($(filter lwmon lwmon5 netta pdm360ng,$(BOARD)),)
|
|
obj-y += board/$(BOARD)/
|
|
endif
|