X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=post%2Fdrivers%2FMakefile;h=85d6c03fc20710613c0b8e2914e439854d0d8d0b;hb=134028682f652b8221631b19c9bef1c3989635b6;hp=cb2f1deacd7083f50238c571c8fcd90c2226c148;hpb=461f2274f8d5e15a354ff92648f17c7b2aa76faa;p=u-boot diff --git a/post/drivers/Makefile b/post/drivers/Makefile index cb2f1deacd..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 = i2c.o memory.o rtc.o +COBJS-$(CONFIG_HAS_POST) += flash.o i2c.o memory.o rtc.o include $(TOPDIR)/post/rules.mk