]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/drivers/Makefile
post/i2c: Don't probe address 0
[karo-tx-uboot.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