xref: /openbmc/u-boot/post/Makefile (revision 4611d5ba)
1#
2# (C) Copyright 2002-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8obj-$(CONFIG_HAS_POST)	+= post.o
9obj-$(CONFIG_POST_STD_LIST)	+= tests.o
10
11obj-$(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
21