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/board/lwmon/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'post/board/lwmon/Makefile') diff --git a/post/board/lwmon/Makefile b/post/board/lwmon/Makefile index d38498bc47..1ac7aa511d 100644 --- a/post/board/lwmon/Makefile +++ b/post/board/lwmon/Makefile @@ -4,10 +4,7 @@ # # SPDX-License-Identifier: GPL-2.0+ # -include $(OBJTREE)/include/autoconf.mk -LIB = libpostlwmon.o +CPPFLAGS += -I$(TOPDIR) -COBJS-$(CONFIG_HAS_POST) += sysmon.o - -include $(TOPDIR)/post/rules.mk +obj-$(CONFIG_HAS_POST) += sysmon.o -- cgit v1.2.1