]> 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 cb2f1deacd7083f50238c571c8fcd90c2226c148..0b6cdf58c9bb1439546ab289743aac2255b9ecd9 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-
-
-SUBDIRS =
+include $(TOPDIR)/config.mk
 
 LIB    = libpostdrivers.a
 
-COBJS  = i2c.o memory.o rtc.o
+COBJS-$(CONFIG_HAS_POST)       += i2c.o memory.o rtc.o
 
 include $(TOPDIR)/post/rules.mk