]> sigrok.org Git - libsigrok.git/blobdiff - hardware/saleae-logic/Makefile.am
Only build hardware drivers if they're enabled.
[libsigrok.git] / hardware / saleae-logic / Makefile.am
index 3e7fc724025d95a37819f868b08a919f18005925..183e7ecb484dd3b10a0e0188c4d52dafc66d96a1 100644 (file)
@@ -17,6 +17,8 @@
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ##
 
+if LA_SALEAE_LOGIC
+
 AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
 
 # Local lib, this is NOT meant to be installed!
@@ -28,3 +30,5 @@ libsigrokhwsaleaelogic_la_SOURCES = \
 libsigrokhwsaleaelogic_la_CFLAGS = \
        -I$(top_srcdir)/libsigrok
 
+endif
+