]> sigrok.org Git - libsigrok.git/blobdiff - hardware/asix-sigma/Makefile.am
Only build hardware drivers if they're enabled.
[libsigrok.git] / hardware / asix-sigma / Makefile.am
index 0413a0db3e004d026a25594b6182a5bd41a648c3..6359e25fbc11a605f69eb44d23c019f51a9c7017 100644 (file)
@@ -17,6 +17,8 @@
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ##
 
+if LA_ASIX_SIGMA
+
 AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
 
 # Local lib, this is NOT meant to be installed!
@@ -29,3 +31,5 @@ libsigrokhwasixsigma_la_SOURCES = \
 libsigrokhwasixsigma_la_CFLAGS = \
        -I$(top_srcdir)/libsigrok
 
+endif
+