]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/drivers/Makefile
post: convert makefiles to Kbuild style
[karo-tx-uboot.git] / post / drivers / Makefile
index 6720f85139572508bbcba45efd10a8591c5c1cee..2f6844cca4eb71d69230b7814327dbed2061c96f 100644 (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