summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-04-22 14:58:29 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-04-24 22:54:05 -0400
commit93919bbdd76cd62829b4772923f998e76d871b4c (patch)
treec56155f86faef3591d0c354107335502ed6cf73d /Makefile.am
parent9df0e16e00338ea267c71a2bf3c314d39e8961be (diff)
downloadphosphor-fan-presence-93919bbdd76cd62829b4772923f998e76d871b4c.tar.gz
phosphor-fan-presence-93919bbdd76cd62829b4772923f998e76d871b4c.zip
build: Add disables for control and presence pkgs
Allow granular control of built packages. Change-Id: Idaded1f149991b1d767f29e0762015f3ba4a0d9d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c3dee8b..9baa62b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,4 +9,11 @@ libfan_la_CXXFLAGS =
libfan_la_SOURCES = \
utility.cpp
-SUBDIRS = . presence control
+SUBDIRS = .
+
+if WANT_PRESENCE
+SUBDIRS += presence
+endif
+if WANT_CONTROL
+SUBDIRS += control
+endif
OpenPOWER on IntegriCloud