]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/drivers/Makefile
POST: move CONFIG_POST to Makefiles
[people/ms/u-boot.git] / post / drivers / Makefile
index 068fa98b14c349e769139d9754fd8ba060d55a18..0b6cdf58c9bb1439546ab289743aac2255b9ecd9 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-
-
-SUBDIRS =
+include $(TOPDIR)/config.mk
 
 LIB    = libpostdrivers.a
 
-COBJS  = cache.o i2c.o memory.o rtc.o
+COBJS-$(CONFIG_HAS_POST)       += i2c.o memory.o rtc.o
 
 include $(TOPDIR)/post/rules.mk