]> git.ipfire.org Git - people/ms/u-boot.git/blame - post/Makefile
post: convert makefiles to Kbuild style
[people/ms/u-boot.git] / post / Makefile
CommitLineData
b6a6460b 1#
f9328639 2# (C) Copyright 2002-2006
b6a6460b
WD
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
b6a6460b
WD
6#
7
a67cefc3
MY
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