kumquat-buildroot/package/openocd/openocd.mk
Thomas De Schampheleire aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00

47 lines
1.2 KiB
Makefile

################################################################################
#
# openocd
#
################################################################################
OPENOCD_VERSION = 0.5.0
OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
OPENOCD_SITE = http://downloads.sourceforge.net/project/openocd/openocd/$(OPENOCD_VERSION)
OPENOCD_LICENSE = GPLv2+
OPENOCD_LICENSE_FILES = COPYING
OPENOCD_AUTORECONF = YES
OPENOCD_CONF_OPTS = \
--oldincludedir=$(STAGING_DIR)/usr/include \
--includedir=$(STAGING_DIR)/usr/include \
--disable-doxygen-html \
--enable-dummy
OPENOCD_DEPENDENCIES = libusb-compat
# Adapters
ifeq ($(BR2_PACKAGE_OPENOCD_FT2XXX),y)
OPENOCD_CONF_OPTS += --enable-ft2232_libftdi
OPENOCD_DEPENDENCIES += libftdi
endif
ifeq ($(BR2_PACKAGE_OPENOCD_JLINK),y)
OPENOCD_CONF_OPTS += --enable-jlink
endif
ifeq ($(BR2_PACKAGE_OPENOCD_VSLLINK),y)
OPENOCD_CONF_OPTS += --enable-vsllink
endif
HOST_OPENOCD_DEPENDENCIES = host-libusb-compat host-libftdi
HOST_OPENOCD_CONF_OPTS = \
--disable-doxygen-html \
--enable-dummy \
--enable-ft2232_libftdi \
--enable-jlink \
--enable-vsllink
$(eval $(autotools-package))
$(eval $(host-autotools-package))