summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-17 17:20:41 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-17 17:20:41 +0000
commitfa01672f9f3f36146036acb1add4a3bf2f839186 (patch)
treeb263352d87ec91e979172bfa9ce5b4587cd4d400 /xpp
parent5d4575582cca3f4f541489a72bda33419a13a2a9 (diff)
xpp/utils: Do use autoconf's detection of libusb.
(from changeset 2170) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2171 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r--xpp/utils/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile
index d23b50d..ef6325d 100644
--- a/xpp/utils/Makefile
+++ b/xpp/utils/Makefile
@@ -35,7 +35,6 @@ XPD_INIT = $(wildcard ../init_card_?_*) ../calibrate_slics
# Variables that should be defined above, but need sane defaults:
# FIXME: Are those values really sane?
HOSTCC ?= $(CC)
-CONFIG_USB ?= y
ZAPTEL_DIR ?= ../..
WCTDM=$(ZAPTEL_DIR)/wctdm.c
@@ -45,7 +44,7 @@ CFLAGS = -g -Wall $(EXTRA_CFLAGS)
TARGETS = init_fxo_modes print_modes adj_clock
PROG_INSTALL = genzaptelconf adj_clock
MAN_INSTALL = genzaptelconf.8 adj_clock.8
-ifneq (,$(filter y m,$(CONFIG_USB)))
+ifeq (1,$(PBX_LIBUSB))
TARGETS += libhexfile.a fpga_load test_parse
PROG_INSTALL += fpga_load
MAN_INSTALL += fpga_load.8