]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/Makefile.am
Only build hardware drivers if they're enabled.
[libsigrok.git] / hardware / zeroplus-logic-cube / Makefile.am
index 17f7c1229a23d63cb1dd1865be110096e5b89e81..ce4d415bb1391c8c01795a09c6e6a202e5cf8c90 100644 (file)
@@ -17,6 +17,8 @@
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ##
 
+if LA_ZEROPLUS_LOGIC_CUBE
+
 # Local lib, this is NOT meant to be installed!
 noinst_LTLIBRARIES = libsigrokhwzeroplus.la
 
@@ -30,3 +32,5 @@ libsigrokhwzeroplus_la_SOURCES = \
 libsigrokhwzeroplus_la_CFLAGS = \
        -I$(top_srcdir)/libsigrok
 
+endif
+