|
@@ -11,18 +11,13 @@ OPENOCD_LICENSE = GPL-2.0+
|
|
OPENOCD_LICENSE_FILES = COPYING
|
|
OPENOCD_LICENSE_FILES = COPYING
|
|
# 0002-configure-enable-build-on-uclinux.patch patches configure.ac
|
|
# 0002-configure-enable-build-on-uclinux.patch patches configure.ac
|
|
OPENOCD_AUTORECONF = YES
|
|
OPENOCD_AUTORECONF = YES
|
|
-
|
|
|
|
-# The bundled jimtcl really wants to find a existing $CXX, so feed it
|
|
|
|
-# false when we do not have one.
|
|
|
|
-OPENOCD_CONF_ENV = \
|
|
|
|
- $(if $(BR2_INSTALL_LIBSTDCPP),,CXX=false) \
|
|
|
|
- CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
|
|
+OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
|
|
OPENOCD_CONF_OPTS = \
|
|
OPENOCD_CONF_OPTS = \
|
|
--oldincludedir=$(STAGING_DIR)/usr/include \
|
|
--oldincludedir=$(STAGING_DIR)/usr/include \
|
|
--includedir=$(STAGING_DIR)/usr/include \
|
|
--includedir=$(STAGING_DIR)/usr/include \
|
|
--disable-doxygen-html \
|
|
--disable-doxygen-html \
|
|
- --with-jim-shared=no \
|
|
|
|
|
|
+ --disable-internal-jimtcl \
|
|
--disable-shared \
|
|
--disable-shared \
|
|
--enable-dummy \
|
|
--enable-dummy \
|
|
--disable-werror
|
|
--disable-werror
|
|
@@ -32,6 +27,7 @@ OPENOCD_CONF_OPTS = \
|
|
|
|
|
|
OPENOCD_DEPENDENCIES = \
|
|
OPENOCD_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
host-pkgconf \
|
|
|
|
+ jimtcl \
|
|
$(if $(BR2_PACKAGE_LIBFTDI1),libftdi1) \
|
|
$(if $(BR2_PACKAGE_LIBFTDI1),libftdi1) \
|
|
$(if $(BR2_PACKAGE_LIBUSB),libusb) \
|
|
$(if $(BR2_PACKAGE_LIBUSB),libusb) \
|
|
$(if $(BR2_PACKAGE_LIBUSB_COMPAT),libusb-compat) \
|
|
$(if $(BR2_PACKAGE_LIBUSB_COMPAT),libusb-compat) \
|