blob: 143924482ff0c9da69ad6539aa72870b8136e163 [file] [log] [blame]
wdenkb6a64602002-08-27 17:36:41 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2002-2006
wdenkb6a64602002-08-27 17:36:41 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenkb6a64602002-08-27 17:36:41 +00006#
7
Masahiro Yamadaa67cefc2013-10-21 11:53:39 +09008obj-$(CONFIG_HAS_POST) += post.o
9obj-$(CONFIG_POST_STD_LIST) += tests.o
wdenkb6a64602002-08-27 17:36:41 +000010
Masahiro Yamadaa67cefc2013-10-21 11:53:39 +090011obj-$(CONFIG_HAS_POST) += drivers/
12ifeq ($(ARCH),powerpc)
13obj-$(CONFIG_HAS_POST) += lib_powerpc/
14endif
15ifneq ($(filter mpc83xx mpc8xx ppc4xx,$(CPU)),)
16obj-$(CONFIG_HAS_POST) += cpu/$(CPU)/
17endif
18ifneq ($(filter lwmon lwmon5 netta pdm360ng,$(BOARD)),)
19obj-$(CONFIG_HAS_POST) += board/$(BOARD)/
20endif