summaryrefslogtreecommitdiff
path: root/post/board/lwmon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'post/board/lwmon/Makefile')
-rw-r--r--post/board/lwmon/Makefile7
1 files changed, 2 insertions, 5 deletions
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