Allow building libsigrok without libserialport.

Since the DER EE DE-5000 driver is currently the only user of
the es51919 module and it depends on the libserialport, compile
the module only if the DER EE DE-5000 driver is enabled. This
allows libsigrok to be built without libserialport again.
This commit is contained in:
Janne Huttunen 2014-10-13 18:51:32 +03:00 committed by Uwe Hermann
parent e8cbb22314
commit 34d117afb4
1 changed files with 2 additions and 0 deletions

View File

@ -107,8 +107,10 @@ libsigrok_la_SOURCES += \
src/dmm/bm25x.c
# Hardware (LCR chip parsers)
if HW_DEREE_DE5000
libsigrok_la_SOURCES += \
src/lcr/es51919.c
endif
# Hardware drivers
if HW_AGILENT_DMM