From a67cefc353f1f3ecb869bd04d4a951356fbe55da Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 21 Oct 2013 11:53:39 +0900 Subject: post: convert makefiles to Kbuild style This commit also deletes post/rules.mk, which in not necessary any more. Signed-off-by: Masahiro Yamada --- post/drivers/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'post/drivers/Makefile') diff --git a/post/drivers/Makefile b/post/drivers/Makefile index 6720f85139..2f6844cca4 100644 --- a/post/drivers/Makefile +++ b/post/drivers/Makefile @@ -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 -- cgit v1.2.1