]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/board/lwmon/Makefile
post: convert makefiles to Kbuild style
[karo-tx-uboot.git] / post / board / lwmon / Makefile
index d38498bc47ef5fa8abb1a2359289213b09c5e6c1..1ac7aa511dafde94212462b02e61bb16a2b64c1a 100644 (file)
@@ -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