X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Fdrivers%2FMakefile;h=85d6c03fc20710613c0b8e2914e439854d0d8d0b;hb=134028682f652b8221631b19c9bef1c3989635b6;hp=068fa98b14c349e769139d9754fd8ba060d55a18;hpb=37896293bc991bddb75ccac887b54e9a61f36320;p=u-boot diff --git a/post/drivers/Makefile b/post/drivers/Makefile index 068fa98b14..85d6c03fc2 100644 --- a/post/drivers/Makefile +++ b/post/drivers/Makefile @@ -20,12 +20,10 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # +include $(TOPDIR)/config.mk +LIB = libpostdrivers.o -SUBDIRS = - -LIB = libpostdrivers.a - -COBJS = cache.o i2c.o memory.o rtc.o +COBJS-$(CONFIG_HAS_POST) += flash.o i2c.o memory.o rtc.o include $(TOPDIR)/post/rules.mk