summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 18:22:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-09 16:31:55 +0100
commitffae400179fd0b64f8882cf79d78e1c0f2d74bee (patch)
treecc5e242e02c3621ea124552ecb9779371500335b /scripts/lib/build_perf
parentc7592b01478def091b6787412390c61e7ce0a0cd (diff)
downloadpoky-ffae400179fd0b64f8882cf79d78e1c0f2d74bee.tar.gz
meta/lib+scripts: Convert to SPDX license headers
This adds SPDX license headers in place of the wide assortment of things currently in our script headers. We default to GPL-2.0-only except for the oeqa code where it was clearly submitted and marked as MIT on the most part or some scripts which had the "or later" GPL versioning. The patch also drops other obsolete bits of file headers where they were encoountered such as editor modelines, obsolete maintainer information or the phrase "All rights reserved" which is now obsolete and not required in copyright headers (in this case its actually confusing for licensing as all rights were not reserved). More work is needed for OE-Core but this takes care of the bulk of the scripts and meta/lib directories. The top level LICENSE files are tweaked to match the new structure and the SPDX naming. (From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf')
-rw-r--r--scripts/lib/build_perf/__init__.py9
-rw-r--r--scripts/lib/build_perf/html.py9
-rw-r--r--scripts/lib/build_perf/report.py9
3 files changed, 3 insertions, 24 deletions
diff --git a/scripts/lib/build_perf/__init__.py b/scripts/lib/build_perf/__init__.py
index 1f8b729078..dcbb78042d 100644
--- a/scripts/lib/build_perf/__init__.py
+++ b/scripts/lib/build_perf/__init__.py
@@ -1,14 +1,7 @@
1# 1#
2# Copyright (c) 2017, Intel Corporation. 2# Copyright (c) 2017, Intel Corporation.
3# 3#
4# This program is free software; you can redistribute it and/or modify it 4# SPDX-License-Identifier: GPL-2.0-only
5# under the terms and conditions of the GNU General Public License,
6# version 2, as published by the Free Software Foundation.
7#
8# This program is distributed in the hope it will be useful, but WITHOUT
9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11# more details.
12# 5#
13"""Build performance test library functions""" 6"""Build performance test library functions"""
14 7
diff --git a/scripts/lib/build_perf/html.py b/scripts/lib/build_perf/html.py
index 578bb162ee..d1273c9c50 100644
--- a/scripts/lib/build_perf/html.py
+++ b/scripts/lib/build_perf/html.py
@@ -1,14 +1,7 @@
1# 1#
2# Copyright (c) 2017, Intel Corporation. 2# Copyright (c) 2017, Intel Corporation.
3# 3#
4# This program is free software; you can redistribute it and/or modify it 4# SPDX-License-Identifier: GPL-2.0-only
5# under the terms and conditions of the GNU General Public License,
6# version 2, as published by the Free Software Foundation.
7#
8# This program is distributed in the hope it will be useful, but WITHOUT
9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11# more details.
12# 5#
13"""Helper module for HTML reporting""" 6"""Helper module for HTML reporting"""
14from jinja2 import Environment, PackageLoader 7from jinja2 import Environment, PackageLoader
diff --git a/scripts/lib/build_perf/report.py b/scripts/lib/build_perf/report.py
index d99a36797f..4e8e2a8a93 100644
--- a/scripts/lib/build_perf/report.py
+++ b/scripts/lib/build_perf/report.py
@@ -1,14 +1,7 @@
1# 1#
2# Copyright (c) 2017, Intel Corporation. 2# Copyright (c) 2017, Intel Corporation.
3# 3#
4# This program is free software; you can redistribute it and/or modify it 4# SPDX-License-Identifier: GPL-2.0-only
5# under the terms and conditions of the GNU General Public License,
6# version 2, as published by the Free Software Foundation.
7#
8# This program is distributed in the hope it will be useful, but WITHOUT
9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11# more details.
12# 5#
13"""Handling of build perf test reports""" 6"""Handling of build perf test reports"""
14from collections import OrderedDict, Mapping, namedtuple 7from collections import OrderedDict, Mapping, namedtuple