Remove duplicate FIRMWARE_DIR includes.
We use AC_DEFINE_UNQUOTED in configure.ac now to put the FIRMWARE_DIR #define in the config.h file, which is included where we need the #define.
This commit is contained in:
parent
62eeeb171b
commit
5819184b22
|
@ -17,8 +17,7 @@
|
|||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
AM_CPPFLAGS = -I $(top_srcdir)/libsigrok \
|
||||
-DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
|
||||
AM_CPPFLAGS = -I $(top_srcdir)/libsigrok
|
||||
|
||||
SUBDIRS = hardware input output firmware
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
if LA_ASIX_SIGMA
|
||||
|
||||
AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
|
||||
|
||||
# Local lib, this is NOT meant to be installed!
|
||||
noinst_LTLIBRARIES = libsigrokhwasixsigma.la
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <string.h>
|
||||
#include <zlib.h>
|
||||
#include <sigrok.h>
|
||||
#include <config.h>
|
||||
#include "asix-sigma.h"
|
||||
|
||||
#define USB_VENDOR 0xa600
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
if LA_SALEAE_LOGIC
|
||||
|
||||
AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
|
||||
|
||||
# Local lib, this is NOT meant to be installed!
|
||||
noinst_LTLIBRARIES = libsigrokhwsaleaelogic.la
|
||||
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
|
||||
|
||||
# Local lib, this is NOT meant to be installed!
|
||||
noinst_LTLIBRARIES = libsigrokoutput.la
|
||||
|
||||
|
|
Loading…
Reference in New Issue