Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[oweals/u-boot.git] / post / Makefile
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
8 obj-$(CONFIG_HAS_POST)  += post.o
9 obj-$(CONFIG_POST_STD_LIST)     += tests.o
10
11 obj-$(CONFIG_HAS_POST) += drivers/
12 ifeq ($(ARCH),powerpc)
13 obj-$(CONFIG_HAS_POST) += lib_powerpc/
14 endif
15 ifneq ($(filter mpc83xx mpc8xx ppc4xx,$(CPU)),)
16 obj-$(CONFIG_HAS_POST) += cpu/$(CPU)/
17 endif
18 ifneq ($(filter lwmon lwmon5 netta pdm360ng,$(BOARD)),)
19 obj-$(CONFIG_HAS_POST) += board/$(BOARD)/
20 endif