Only build hardware drivers if they're enabled.
This commit is contained in:
parent
5096c6a6c1
commit
7c17ac6cc4
|
@ -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
|
||||
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
if LA_OLS
|
||||
|
||||
# Local lib, this is NOT meant to be installed!
|
||||
noinst_LTLIBRARIES = libsigrokhwols.la
|
||||
|
||||
|
@ -26,3 +28,4 @@ libsigrokhwols_la_SOURCES = \
|
|||
libsigrokhwols_la_CFLAGS = \
|
||||
-I$(top_srcdir)/libsigrok
|
||||
|
||||
endif
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue