2 # (C) Copyright 2002-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 obj-$(CONFIG_HAS_POST) += post.o
9 obj-$(CONFIG_POST_STD_LIST) += tests.o
11 obj-$(CONFIG_HAS_POST) += drivers/
12 ifeq ($(ARCH),powerpc)
13 obj-$(CONFIG_HAS_POST) += lib_powerpc/
15 ifneq ($(filter mpc83xx mpc8xx ppc4xx,$(CPU)),)
16 obj-$(CONFIG_HAS_POST) += cpu/$(CPU)/
18 ifneq ($(filter lwmon lwmon5 netta pdm360ng,$(BOARD)),)
19 obj-$(CONFIG_HAS_POST) += board/$(BOARD)/