[linux-yocto] [kernel-tools][PATCH] Add SPDX license headers to source files
Bruce Ashfield
bruce.ashfield at gmail.com
Tue Aug 6 20:20:56 PDT 2019
Looks fine to me.
I'm traveling right now, so it will be a few days until I get this merged
and can send SRCREV updates to oe-core.
Bruce
On Tue, Aug 6, 2019 at 3:06 PM William Bourque <wbourque at gmail.com> wrote:
> Kconfiglib/* were under ISC license before they were imported
> here from https://github.com/ulfalizer/Kconfiglib
> Adjusting SPDX header to reflect that fact.
>
> tools/* all have some sort of GPLv2 headers; adding SPDX header
> to make it obvious.
>
> This address bug #13334 :
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13334
>
> Change-Id: I243f2dd266a398f982798b771e74a67be70ecb52
> Signed-off-by: William Bourque <wbourque at gmail.com>
> ---
> Kconfiglib/examples/allnoconfig_walk.py | 2 ++
> Kconfiglib/examples/defconfig.py | 2 ++
> Kconfiglib/examples/defconfig_oldconfig.py | 2 ++
> Kconfiglib/examples/eval_expr.py | 2 ++
> Kconfiglib/examples/find_symbol.py | 2 ++
> Kconfiglib/examples/help_grep.py | 2 ++
> Kconfiglib/examples/list_undefined.py | 2 ++
> Kconfiglib/examples/menuconfig_example.py | 2 ++
> Kconfiglib/examples/merge_config.py | 2 ++
> Kconfiglib/examples/print_config_tree.py | 2 ++
> Kconfiglib/examples/print_sym_info.py | 2 ++
> Kconfiglib/examples/print_tree.py | 2 ++
> Kconfiglib/setup.py | 4 ++++
> Kconfiglib/tests/reltest | 1 +
> tools/buildall | 1 +
> tools/get_defconfig | 1 +
> tools/kconf_check | 1 +
> tools/kgit | 1 +
> tools/kgit-checkpoint | 1 +
> tools/kgit-clean | 1 +
> tools/kgit-config-cleaner | 1 +
> tools/kgit-feature | 1 +
> tools/kgit-init | 1 +
> tools/kgit-meta | 1 +
> tools/kgit-publish | 1 +
> tools/kgit-s2q | 1 +
> tools/kgit-scc | 1 +
> tools/scc | 1 +
> tools/spp | 1 +
> tools/symbol_why.py | 2 ++
> 30 files changed, 46 insertions(+)
>
> diff --git a/Kconfiglib/examples/allnoconfig_walk.py
> b/Kconfiglib/examples/allnoconfig_walk.py
> index b94a169..05ec7b5 100644
> --- a/Kconfiglib/examples/allnoconfig_walk.py
> +++ b/Kconfiglib/examples/allnoconfig_walk.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # This is tree-walking version of allnoconfig.py, for demonstration
> purposes.
> # Verified by the test suite to generate identical output to 'make
> allnoconfig'
> # for all ARCHes.
> diff --git a/Kconfiglib/examples/defconfig.py
> b/Kconfiglib/examples/defconfig.py
> index cc3f12d..6797890 100644
> --- a/Kconfiglib/examples/defconfig.py
> +++ b/Kconfiglib/examples/defconfig.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Works like entering "make menuconfig" and immediately saving and exiting
> #
> # Usage:
> diff --git a/Kconfiglib/examples/defconfig_oldconfig.py
> b/Kconfiglib/examples/defconfig_oldconfig.py
> index 3735ee1..bf34e94 100644
> --- a/Kconfiglib/examples/defconfig_oldconfig.py
> +++ b/Kconfiglib/examples/defconfig_oldconfig.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Produces exactly the same output as the following script:
> #
> # make defconfig
> diff --git a/Kconfiglib/examples/eval_expr.py
> b/Kconfiglib/examples/eval_expr.py
> index 6d8695e..3eb49fb 100644
> --- a/Kconfiglib/examples/eval_expr.py
> +++ b/Kconfiglib/examples/eval_expr.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Evaluates an expression (e.g. "X86_64 || (X86_32 && X86_LOCAL_APIC)")
> in the
> # context of a configuration. Note that this always yields a tristate
> value (n,
> # m, or y).
> diff --git a/Kconfiglib/examples/find_symbol.py
> b/Kconfiglib/examples/find_symbol.py
> index 0d3c968..2e22fd7 100644
> --- a/Kconfiglib/examples/find_symbol.py
> +++ b/Kconfiglib/examples/find_symbol.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Prints all menu nodes that reference a given symbol any of their
> properties
> # or property conditions, along with their parent menu nodes.
> #
> diff --git a/Kconfiglib/examples/help_grep.py
> b/Kconfiglib/examples/help_grep.py
> index 20a4911..0e60512 100644
> --- a/Kconfiglib/examples/help_grep.py
> +++ b/Kconfiglib/examples/help_grep.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Does a case-insensitive search for a regular expression in the help
> texts of
> # symbols and choices and the prompts of menus and comments. Prints the
> # matching items together with their locations and the matching text.
> diff --git a/Kconfiglib/examples/list_undefined.py
> b/Kconfiglib/examples/list_undefined.py
> index 0207975..f531777 100644
> --- a/Kconfiglib/examples/list_undefined.py
> +++ b/Kconfiglib/examples/list_undefined.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Prints a list of symbols that are referenced in the Kconfig files of
> some
> # architecture but not defined by the Kconfig files of any architecture.
> #
> diff --git a/Kconfiglib/examples/menuconfig_example.py
> b/Kconfiglib/examples/menuconfig_example.py
> index f026e74..b3763ba 100644
> --- a/Kconfiglib/examples/menuconfig_example.py
> +++ b/Kconfiglib/examples/menuconfig_example.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Implements a simple configuration interface on top of Kconfiglib to
> # demonstrate concepts for building a menuconfig-like. Emulates how the
> # standard menuconfig prints menu entries.
> diff --git a/Kconfiglib/examples/merge_config.py
> b/Kconfiglib/examples/merge_config.py
> index f3fa471..e97a505 100644
> --- a/Kconfiglib/examples/merge_config.py
> +++ b/Kconfiglib/examples/merge_config.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # This script functions similarly to scripts/kconfig/merge_config.sh from
> the
> # kernel tree, merging multiple configurations fragments to produce a
> complete
> # .config, with unspecified values filled in as for alldefconfig.
> diff --git a/Kconfiglib/examples/print_config_tree.py
> b/Kconfiglib/examples/print_config_tree.py
> index 6bd02ab..950187a 100644
> --- a/Kconfiglib/examples/print_config_tree.py
> +++ b/Kconfiglib/examples/print_config_tree.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Prints menu entries as a tree with its value in the .config file. This
> can be
> # handy e.g. for diffing between different .config files or versions of
> Kconfig files.
> #
> diff --git a/Kconfiglib/examples/print_sym_info.py
> b/Kconfiglib/examples/print_sym_info.py
> index c0c63df..dbd01c0 100644
> --- a/Kconfiglib/examples/print_sym_info.py
> +++ b/Kconfiglib/examples/print_sym_info.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Loads a Kconfig and a .config and prints a symbol.
> #
> # Usage:
> diff --git a/Kconfiglib/examples/print_tree.py
> b/Kconfiglib/examples/print_tree.py
> index 5155cf0..777dd97 100644
> --- a/Kconfiglib/examples/print_tree.py
> +++ b/Kconfiglib/examples/print_tree.py
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: ISC
> +#
> # Prints the menu tree of the configuration. Dependencies between symbols
> can
> # sometimes implicitly alter the menu structure (see
> kconfig-language.txt), and
> # that's implemented too.
> diff --git a/Kconfiglib/setup.py b/Kconfiglib/setup.py
> index a51fc85..01f8c5c 100644
> --- a/Kconfiglib/setup.py
> +++ b/Kconfiglib/setup.py
> @@ -1,3 +1,7 @@
> +#
> +# SPDX-License-Identifier: ISC
> +#
> +
> import io
> import os
> import setuptools
> diff --git a/Kconfiglib/tests/reltest b/Kconfiglib/tests/reltest
> index 0916c7a..dbe6a9b 100755
> --- a/Kconfiglib/tests/reltest
> +++ b/Kconfiglib/tests/reltest
> @@ -1,4 +1,5 @@
> #!/usr/bin/env bash
> +# SPDX-License-Identifier: ISC
>
> # Runs the test suite and all examples scripts with Python 2 and Python 3,
> # bailing immediately if anything fails. For the examples that aren't
> tested in
> diff --git a/tools/buildall b/tools/buildall
> index 0689b9c..3c04c71 100755
> --- a/tools/buildall
> +++ b/tools/buildall
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # Script to build all possible BSP branches in a git yocto kernel tree.
> # Copyright 2012 Wind River. Licensed under the GPLv2 included herein
> diff --git a/tools/get_defconfig b/tools/get_defconfig
> index e67034b..fcfe526 100755
> --- a/tools/get_defconfig
> +++ b/tools/get_defconfig
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (get_defconfig), (simple script to pull a defconfig for a particular
> arch)
>
> diff --git a/tools/kconf_check b/tools/kconf_check
> index 20b49cd..d1f4bf0 100755
> --- a/tools/kconf_check
> +++ b/tools/kconf_check
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # Copyright (c) 2009-2016 Wind River Systems, Inc.
>
> diff --git a/tools/kgit b/tools/kgit
> index 2d4d08a..195addb 100755
> --- a/tools/kgit
> +++ b/tools/kgit
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (kgit), (mux and demux for kgit* tools)
>
> diff --git a/tools/kgit-checkpoint b/tools/kgit-checkpoint
> index 39b28c0..da19e93 100755
> --- a/tools/kgit-checkpoint
> +++ b/tools/kgit-checkpoint
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (kgit-checkpoint), (checkpoint and restore for meta-information)
>
> diff --git a/tools/kgit-clean b/tools/kgit-clean
> index 172bed9..94b29c3 100755
> --- a/tools/kgit-clean
> +++ b/tools/kgit-clean
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (kgit-clean), (maintenance utilities for a git tree and associated
> meta data)
>
> diff --git a/tools/kgit-config-cleaner b/tools/kgit-config-cleaner
> index b70c675..2880b7d 100755
> --- a/tools/kgit-config-cleaner
> +++ b/tools/kgit-config-cleaner
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # Copyright (c) 2012 Wind River Systems, Inc.
>
> diff --git a/tools/kgit-feature b/tools/kgit-feature
> index 5d0be42..01bbc06 100755
> --- a/tools/kgit-feature
> +++ b/tools/kgit-feature
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # Copyright (c) 2014 Wind River Systems, Inc.
>
> diff --git a/tools/kgit-init b/tools/kgit-init
> index 33eb8e5..f71ae00 100755
> --- a/tools/kgit-init
> +++ b/tools/kgit-init
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (kgit-init), (initialize a meta-based kernel git tree)
>
> diff --git a/tools/kgit-meta b/tools/kgit-meta
> index a798264..8b7b7b1 100755
> --- a/tools/kgit-meta
> +++ b/tools/kgit-meta
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (kgit-meta), (processes a meta-series to construct a git tree)
>
> diff --git a/tools/kgit-publish b/tools/kgit-publish
> index db80a80..b5109c3 100755
> --- a/tools/kgit-publish
> +++ b/tools/kgit-publish
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (kgit-publish), (prepare a git tree for publication)
>
> diff --git a/tools/kgit-s2q b/tools/kgit-s2q
> index dc0603f..3466902 100755
> --- a/tools/kgit-s2q
> +++ b/tools/kgit-s2q
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
> #
> # kgit-s2q
> #
> diff --git a/tools/kgit-scc b/tools/kgit-scc
> index f09ef19..7aa7c77 100755
> --- a/tools/kgit-scc
> +++ b/tools/kgit-scc
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # (kgit-scc), (process a series of .scc files into a full repository)
>
> diff --git a/tools/scc b/tools/scc
> index f5e787b..78e7445 100755
> --- a/tools/scc
> +++ b/tools/scc
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # "scc" script.
>
> diff --git a/tools/spp b/tools/spp
> index 987e6fe..1150ff3 100755
> --- a/tools/spp
> +++ b/tools/spp
> @@ -1,4 +1,5 @@
> #!/bin/bash
> +# SPDX-License-Identifier: GPL-2.0-only
>
> # "spp" preprocessor script.
>
> diff --git a/tools/symbol_why.py b/tools/symbol_why.py
> index 8dfc496..b9ab0da 100755
> --- a/tools/symbol_why.py
> +++ b/tools/symbol_why.py
> @@ -1,4 +1,6 @@
> #!/usr/bin/env python
> +# SPDX-License-Identifier: GPL-2.0-only
> +#
>
> # Kconfig symbol analsysis
> #
> --
> 2.17.1
>
> --
> _______________________________________________
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20190807/3644ecf2/attachment-0001.html>
More information about the linux-yocto
mailing list