u-boot/post/Makefile
Masahiro Yamada a67cefc353 post: convert makefiles to Kbuild style
This commit also deletes post/rules.mk,
which in not necessary any more.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2013-11-01 11:42:12 -04:00

20 lines
497 B
Makefile

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