summaryrefslogtreecommitdiffstats
path: root/src/usr/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/makefile')
-rw-r--r--src/usr/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/makefile b/src/usr/makefile
index 17b0283b1..c07030fb9 100644
--- a/src/usr/makefile
+++ b/src/usr/makefile
@@ -62,8 +62,8 @@ SUBDIRS += gpio.d
SUBDIRS += lpc.d
SUBDIRS += console.d
SUBDIRS += errldisplay.d
-SUBDIRS += ipmi.d
-SUBDIRS += htmgt.d
+SUBDIRS += $(if $(CONFIG_BMC_BT_LPC_IPMI),ipmi.d)
+SUBDIRS += $(if $(CONFIG_HTMGT),htmgt.d)
SUBDIRS += diag.d
SUBDIRS += xz.d
SUBDIRS += $(if $(CONFIG_ENABLE_HDAT_IN_HOSTBOOT),hdat.d,)
OpenPOWER on IntegriCloud