summaryrefslogtreecommitdiffstats
path: root/post/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'post/drivers')
-rw-r--r--post/drivers/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/post/drivers/Makefile b/post/drivers/Makefile
index cb2f1deacd..0b6cdf58c9 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
#
-
-
-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
OpenPOWER on IntegriCloud