X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fu-boot.git;a=blobdiff_plain;f=post%2Fdrivers%2FMakefile;fp=post%2Fdrivers%2FMakefile;h=2f6844cca4eb71d69230b7814327dbed2061c96f;hp=6720f85139572508bbcba45efd10a8591c5c1cee;hb=a67cefc353f1f3ecb869bd04d4a951356fbe55da;hpb=377e1048d3065b97b21fea0763b77f1786d5b654 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