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>
This commit is contained in:
Masahiro Yamada
2013-10-21 11:53:39 +09:00
committed by Tom Rini
parent 377e1048d3
commit a67cefc353
12 changed files with 53 additions and 152 deletions

View File

@@ -4,10 +4,7 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
include $(TOPDIR)/config.mk
LIB = libpostdrivers.o
CPPFLAGS += -I$(TOPDIR)
COBJS-$(CONFIG_HAS_POST) += flash.o i2c.o memory.o rtc.o
include $(TOPDIR)/post/rules.mk
obj-$(CONFIG_HAS_POST) += flash.o i2c.o memory.o rtc.o