зеркало из https://github.com/microsoft/openocd.git
openocd: build: add SPDX tag
Add the SPDX tag to makefiles, configuration scripts and tcl files present in the folders under src/ Change-Id: I1e4552aafe46ef4893d510da9d732c5f181784a4 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7051 Tested-by: jenkins
This commit is contained in:
Родитель
5e96b012af
Коммит
96202cda19
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# not a GNU package. You can remove this line, if
|
||||
# have all needed files, that a GNU package needs
|
||||
AUTOMAKE_OPTIONS = gnu 1.6
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Run the autotools bootstrap sequence to create the configure script
|
||||
|
||||
# Abort execution on error
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
AC_PREREQ([2.69])
|
||||
AC_INIT([openocd], [0.11.0+dev],
|
||||
[OpenOCD Mailing List <openocd-devel@lists.sourceforge.net>])
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libopenocd.la
|
||||
bin_PROGRAMS += %D%/openocd
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libflash.la
|
||||
%C%_libflash_la_SOURCES = \
|
||||
%D%/common.c %D%/common.h
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libocdflashnand.la
|
||||
|
||||
%C%_libocdflashnand_la_SOURCES = \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libocdflashnor.la
|
||||
%C%_libocdflashnor_la_SOURCES = \
|
||||
%D%/core.c \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Defines basic Tcl procs for OpenOCD flash module
|
||||
|
||||
#
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libhelper.la
|
||||
|
||||
%C%_libhelper_la_SOURCES = \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Defines basic Tcl procs that must exist for OpenOCD scripts to work.
|
||||
#
|
||||
# Embedded into OpenOCD executable
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libjtag.la
|
||||
|
||||
%C%_libjtag_la_LIBADD =
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libocdaice.la
|
||||
|
||||
%C%_libocdaice_la_CPPFLAGS = -I$(top_srcdir)/src/jtag/drivers $(AM_CPPFLAGS) $(LIBUSB1_CFLAGS)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libocdjtagdrivers.la
|
||||
%C%_libocdjtagdrivers_la_LIBADD =
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libocdusbblaster.la
|
||||
%C%_libocdusbblaster_la_SOURCES = $(USB_BLASTER_SRC)
|
||||
%C%_libocdusbblaster_la_CPPFLAGS = -I$(top_srcdir)/src/jtag/drivers $(AM_CPPFLAGS) $(LIBUSB1_CFLAGS) $(LIBFTDI_CFLAGS)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libocdhla.la
|
||||
|
||||
%C%_libocdhla_la_SOURCES = \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Defines basic Tcl procs for OpenOCD JTAG module
|
||||
|
||||
# Executed during "init". Can be overridden
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libpld.la
|
||||
%C%_libpld_la_SOURCES = \
|
||||
%D%/pld.c \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/librtos.la
|
||||
%C%_librtos_la_SOURCES = \
|
||||
%D%/rtos.c \
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/librtt.la
|
||||
%C%_librtt_la_SOURCES = %D%/rtt.c %D%/rtt.h %D%/tcl.c
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libserver.la
|
||||
%C%_libserver_la_SOURCES = \
|
||||
%D%/server.c \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Defines basic Tcl procs for OpenOCD server modules
|
||||
|
||||
# Handle GDB 'R' packet. Can be overridden by configuration script,
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libsvf.la
|
||||
%C%_libsvf_la_SOURCES = %D%/svf.c %D%/svf.h
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
%C%_libtarget_la_LIBADD = %D%/openrisc/libopenrisc.la \
|
||||
%D%/riscv/libriscv.la \
|
||||
%D%/xtensa/libxtensa.la \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libespressif.la
|
||||
%C%_libespressif_la_SOURCES = \
|
||||
%D%/esp_xtensa.c \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libopenrisc.la
|
||||
%C%_libopenrisc_la_SOURCES = \
|
||||
%D%/or1k.c \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libriscv.la
|
||||
%C%_libriscv_la_SOURCES = \
|
||||
%D%/asm.h \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Defines basic Tcl procs for OpenOCD target module
|
||||
|
||||
proc new_target_name { } {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libxtensa.la
|
||||
%C%_libxtensa_la_SOURCES = \
|
||||
%D%/xtensa.c \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libtransport.la
|
||||
%C%_libtransport_la_SOURCES = \
|
||||
%D%/transport.c \
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
noinst_LTLIBRARIES += %D%/libxsvf.la
|
||||
%C%_libxsvf_la_SOURCES = %D%/xsvf.c %D%/xsvf.h
|
||||
|
|
Загрузка…
Ссылка в новой задаче