Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 11ea78c4d253bb90296e2dd8c3f7fbf59ba397b6 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Thu, 17 Aug 2017 06:30:31 +0200
|
||||
Subject: [PATCH] configure: enable build on uclinux
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c680bda7..1a7980a0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -327,7 +327,7 @@ AC_ARG_ENABLE([sysfsgpio],
|
||||
[build_sysfsgpio=$enableval], [build_sysfsgpio=no])
|
||||
|
||||
AS_CASE([$host_os],
|
||||
- [linux*], [],
|
||||
+ [linux*|uclinux*], [],
|
||||
[
|
||||
AS_IF([test "x$build_sysfsgpio" = "xyes"], [
|
||||
AC_MSG_ERROR([sysfsgpio is only available on linux])
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -11,109 +11,109 @@ comment "Adapters"
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_FTDI
|
||||
bool "MPSSE mode of FTDI based devices"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the MPSSE mode of FTDI
|
||||
(FT2xxx/FT4xxx) based devices (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_STLINK
|
||||
bool "ST-Link JTAG Programmer"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the ST-Link JTAG
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_TI_ICDI
|
||||
bool "TI ICDI JTAG Programmer"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the TI ICDI JTAG
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_ULINK
|
||||
bool "Keil ULINK JTAG Programmer"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the Keil ULINK JTAG
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_UBLASTER2
|
||||
bool "Altera USB-Blaster II Compatible"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the Altera USB-Blaster
|
||||
II Compatible (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_JLINK
|
||||
bool "Segger J-Link JTAG Programmer"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Segger J-Link JTAG Programmer and clone such as Atmel
|
||||
SAM-ICE
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_OSDBM
|
||||
bool "OSDBM JTAG (only) Programmer"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the OSBDM (JTAG only)
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_OPENDOUS
|
||||
bool "eStick/opendous JTAG Programmer"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the eStick/opendous JTAG
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_AICE
|
||||
bool "Andes JTAG Programmer"
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
depends on BR2_USE_MMU # use fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Enable building support for the Andes JTAG
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_VSLLINK
|
||||
bool "Versaloon-Link JTAG Programmer"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
help
|
||||
Enable building support for the Versaloon-Link JTAG
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_USBPROG
|
||||
bool "USBProg JTAG Programmer"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
help
|
||||
Enable building support for the USBProg JTAG
|
||||
Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_RLINK
|
||||
bool "Raisonance RLink JTAG Programmer"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
help
|
||||
Enable building support for the Raisonance RLink
|
||||
JTAG Programmer (default is auto)
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_ARMEW
|
||||
bool "Olimex ARM-JTAG-EW Programmer"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
||||
help
|
||||
Enable building support for the Olimex ARM-JTAG-EW
|
||||
Programmer (default is auto)
|
||||
@@ -123,14 +123,6 @@ config BR2_PACKAGE_OPENOCD_PARPORT
|
||||
help
|
||||
Enable building the pc parallel port driver
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_FT2XXX
|
||||
bool "FT2232 based devices (DEPRECATED)"
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
||||
help
|
||||
(DEPRECATED) Enable building support for FT2232
|
||||
based devices using the libftdi library
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_VPI
|
||||
bool "JTAG VPI"
|
||||
help
|
||||
@@ -138,8 +130,8 @@ config BR2_PACKAGE_OPENOCD_VPI
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_UBLASTER
|
||||
bool "Altera USB-Blaster"
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
help
|
||||
Enable building support for the Altera USB-Blaster
|
||||
using the libftdi driver, opensource alternate of
|
||||
@@ -178,18 +170,18 @@ config BR2_PACKAGE_OPENOCD_GW16012
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_PRESTO
|
||||
bool "ASIX Presto Programmer"
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
help
|
||||
Enable building support for ASIX Presto Programmer
|
||||
using the libftdi driver
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_OPENJTAG
|
||||
bool "OpenJTAG Programmer"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT # needs usb.h
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
||||
help
|
||||
Enable building support for the OpenJTAG Programmer
|
||||
with ftdi driver
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# From http://sourceforge.net/projects/openocd/files/openocd/0.9.0/
|
||||
sha1 bcf99bb21f09513065b2c9ece148ace7d16cdd0c openocd-0.9.0.tar.bz2
|
||||
md5 665cc98ae9e7297e09ec6ac7235fee49 openocd-0.9.0.tar.bz2
|
||||
# From http://sourceforge.net/projects/openocd/files/openocd/0.10.0/
|
||||
sha1 3245d43d60a1a93f8b0f6b1ce20b53e38cab7a4a openocd-0.10.0.tar.bz2
|
||||
md5 b412bdef0481a3859c6585eb69f6f6ba openocd-0.10.0.tar.bz2
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
|
||||
@@ -4,11 +4,19 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENOCD_VERSION = 0.9.0
|
||||
OPENOCD_VERSION = 0.10.0
|
||||
OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
|
||||
OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION)
|
||||
OPENOCD_LICENSE = GPL-2.0+
|
||||
OPENOCD_LICENSE_FILES = COPYING
|
||||
# 0002-configure-enable-build-on-uclinux.patch patches configure.ac
|
||||
OPENOCD_AUTORECONF = YES
|
||||
|
||||
OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
||||
# 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_OPTS = \
|
||||
--oldincludedir=$(STAGING_DIR)/usr/include \
|
||||
@@ -45,9 +53,8 @@ OPENOCD_CONF_OPTS += \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_ARMEW),--enable-armjtagew,--disable-armjtagew) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_CMSIS_DAP),--enable-cmsis-dap,--disable-cmsis-dap) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_PARPORT),--enable-parport,--disable-parport) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_FT2XXX),--enable-legacy-ft2232_libftdi,--disable-legacy-ft2232_libftdi) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_VPI),--enable-jtag_vpi,--disable-jtag_vpi) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_UBLASTER),--enable-usb_blaster_libftdi,--disable-usb_blaster_libftdi) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_UBLASTER),--enable-usb-blaster,--disable-usb-blaster) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_AMTJT),--enable-amtjtagaccel,--disable-amjtagaccel) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_ZY1000_MASTER),--enable-zy1000-master,--disable-zy1000-master) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_ZY1000),--enable-zy1000,--disable-zy1000) \
|
||||
@@ -55,8 +62,8 @@ OPENOCD_CONF_OPTS += \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_AT91RM),--enable-at91rm9200,--disable-at91rm9200) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_BCM2835),--enable-bcm2835gpio,--disable-bcm2835gpio) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_GW16012),--enable-gw16012,--disable-gw16012) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_PRESTO),--enable-presto_libftdi,--disable-presto_libftdi) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_OPENJTAG),--enable-openjtag_ftdi,--disable-openjtag_ftdi) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_PRESTO),--enable-presto,--disable-presto) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_OPENJTAG),--enable-openjtag,--disable-openjtag) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_BUSPIRATE),--enable-buspirate,--disable-buspirate) \
|
||||
$(if $(BR2_PACKAGE_OPENOCD_SYSFS),--enable-sysfsgpio,--disable-sysfsgpio)
|
||||
|
||||
@@ -82,15 +89,15 @@ HOST_OPENOCD_CONF_OPTS = \
|
||||
--enable-armjtagew \
|
||||
--enable-parport \
|
||||
--enable-jtag_vpi \
|
||||
--enable-usb_blaster_libftdi \
|
||||
--enable-usb-blaster \
|
||||
--enable-amtjtagaccel \
|
||||
--enable-gw16012 \
|
||||
--enable-presto_libftdi \
|
||||
--enable-openjtag_ftdi \
|
||||
--enable-presto \
|
||||
--enable-openjtag \
|
||||
--enable-buspirate \
|
||||
--enable-sysfsgpio \
|
||||
--oldincludedir=$(HOST_DIR)/usr/include \
|
||||
--includedir=$(HOST_DIR)/usr/include \
|
||||
--oldincludedir=$(HOST_DIR)/include \
|
||||
--includedir=$(HOST_DIR)/include \
|
||||
--disable-doxygen-html \
|
||||
--with-jim-shared=no \
|
||||
--disable-shared \
|
||||
@@ -108,11 +115,10 @@ HOST_OPENOCD_DEPENDENCIES = host-libftdi host-libusb host-libusb-compat
|
||||
# build system believe the documentation doesn't need to be
|
||||
# regenerated.
|
||||
define OPENOCD_FIX_VERSION_TEXI
|
||||
touch -r $(@D)/doc/openocd.info $(@D)/doc/version.texi
|
||||
touch -r $(@D)/doc/openocd.info $(@D)/doc/version.texi
|
||||
endef
|
||||
OPENOCD_POST_BUILD_HOOKS += OPENOCD_FIX_VERSION_TEXI
|
||||
HOST_OPENOCD_POST_BUILD_HOOKS += OPENOCD_FIX_VERSION_TEXI
|
||||
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user