util/: Replace GPLv2 boiler plate with SPDX header

Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)

perl -i -p0e 's|This[\s*]*program[\s*]*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.*[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)

perl -i -p0e 's|\/\*[\s*]*.*This[\s*#]*program[\s*#]*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.*[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)

perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)

perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)

Change-Id: I1008a63b804f355a916221ac994701d7584f60ff
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41177
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrick Georgi 2020-05-08 20:48:04 +02:00
parent ea063cb975
commit 7333a116b3
175 changed files with 200 additions and 1715 deletions

View File

@ -1,14 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
rm -rf out rm -rf out
mkdir out mkdir out

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/* /*
* ROMSIG At ROMBASE + 0x20000: * ROMSIG At ROMBASE + 0x20000:

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "archive.h" #include "archive.h"
#include <endian.h> #include <endian.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __ARCHIVE_H #ifndef __ARCHIVE_H
#define __ARCHIVE_H #define __ARCHIVE_H

View File

@ -1,15 +1,5 @@
/* bincfg - Compiler/Decompiler for data blobs with specs */ /* bincfg - Compiler/Decompiler for data blobs with specs */
/* /* SPDX-License-Identifier: GPL-3.0-or-later */
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __BINCFG_H #ifndef __BINCFG_H
#define __BINCFG_H #define __BINCFG_H

View File

@ -1,15 +1,5 @@
/* bincfg - Compiler/Decompiler for data blobs with specs */ /* bincfg - Compiler/Decompiler for data blobs with specs */
/* /* SPDX-License-Identifier: GPL-3.0-or-later */
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
%{ %{
#include <stdio.h> #include <stdio.h>

View File

@ -1,15 +1,5 @@
/* bincfg - Compiler/Decompiler for data blobs with specs */ /* bincfg - Compiler/Decompiler for data blobs with specs */
/* /* SPDX-License-Identifier: GPL-3.0-or-later */
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
%{ %{
#include <stdio.h> #include <stdio.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <getopt.h> #include <getopt.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,14 +1,5 @@
/* AMD Family 17h and later BIOS compressor */ /* AMD Family 17h and later BIOS compressor */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __CBFS_H #ifndef __CBFS_H
#define __CBFS_H #define __CBFS_H

View File

@ -1,14 +1,5 @@
/* CBFS Image Manipulation */ /* CBFS Image Manipulation */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <inttypes.h> #include <inttypes.h>
#include <libgen.h> #include <libgen.h>

View File

@ -1,14 +1,5 @@
/* CBFS Image Manipulation */ /* CBFS Image Manipulation */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __CBFS_IMAGE_H #ifndef __CBFS_IMAGE_H
#define __CBFS_IMAGE_H #define __CBFS_IMAGE_H

View File

@ -1,14 +1,5 @@
/* track which sections of the image will contain CBFSes */ /* track which sections of the image will contain CBFSes */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "cbfs_sections.h" #include "cbfs_sections.h"
#include "common.h" #include "common.h"

View File

@ -1,14 +1,5 @@
/* fmap_sections.h, track which sections of the image will contain CBFSes */ /* fmap_sections.h, track which sections of the image will contain CBFSes */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef CBFS_SECTIONS_H_ #ifndef CBFS_SECTIONS_H_
#define CBFS_SECTIONS_H_ #define CBFS_SECTIONS_H_

View File

@ -1,14 +1,5 @@
/* cbfs-compression-tool, CLI utility for dealing with CBFS compressed data */ /* cbfs-compression-tool, CLI utility for dealing with CBFS compressed data */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* cbfstool, CLI utility for CBFS file manipulation */ /* cbfstool, CLI utility for CBFS file manipulation */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#define DOS_MAGIC 0x5a4d #define DOS_MAGIC 0x5a4d
typedef struct { typedef struct {

View File

@ -1,14 +1,5 @@
/* common utility functions for cbfstool */ /* common utility functions for cbfstool */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __CBFSTOOL_COMMON_H #ifndef __CBFSTOOL_COMMON_H
#define __CBFSTOOL_COMMON_H #define __CBFSTOOL_COMMON_H

View File

@ -1,14 +1,5 @@
/* compression handling for cbfstool */ /* compression handling for cbfstool */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CBFSTOOL_CONSOLE_H_ #ifndef _CBFSTOOL_CONSOLE_H_
#define _CBFSTOOL_CONSOLE_H_ #define _CBFSTOOL_CONSOLE_H_

View File

@ -1,14 +1,5 @@
/* elf header parsing */ /* elf header parsing */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef ELFPARSING_H #ifndef ELFPARSING_H
#define ELFPARSING_H #define ELFPARSING_H

View File

@ -1,14 +1,5 @@
/* Firmware Interface Table support */ /* Firmware Interface Table support */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <inttypes.h> #include <inttypes.h>
#include <stdint.h> #include <stdint.h>

View File

@ -1,14 +1,5 @@
/* Firmware Interface Table support */ /* Firmware Interface Table support */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __CBFSTOOL_FIT_H #ifndef __CBFSTOOL_FIT_H
#define __CBFSTOOL_FIT_H #define __CBFSTOOL_FIT_H

View File

@ -1,14 +1,5 @@
/* fmap_from_fmd.c, simple launcher for fmap library unit test suite */ /* fmap_from_fmd.c, simple launcher for fmap library unit test suite */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "flashmap/fmap.h" #include "flashmap/fmap.h"

View File

@ -1,14 +1,5 @@
/* fmap_from_fmd.c, tool to distill flashmap descriptors into raw FMAP sections */ /* fmap_from_fmd.c, tool to distill flashmap descriptors into raw FMAP sections */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "fmap_from_fmd.h" #include "fmap_from_fmd.h"

View File

@ -1,14 +1,5 @@
/* fmap_from_fmd.h, tool to distill flashmap descriptors into raw FMAP sections */ /* fmap_from_fmd.h, tool to distill flashmap descriptors into raw FMAP sections */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef FMAP_FROM_FMD_H_ #ifndef FMAP_FROM_FMD_H_
#define FMAP_FROM_FMD_H_ #define FMAP_FROM_FMD_H_

View File

@ -1,14 +1,5 @@
/* fmaptool, CLI utility for converting plaintext fmd files into fmap blobs */ /* fmaptool, CLI utility for converting plaintext fmd files into fmap blobs */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "common.h" #include "common.h"
#include "cbfs_sections.h" #include "cbfs_sections.h"

View File

@ -1,14 +1,5 @@
/* fmd.c, parser frontend and utility functions for flashmap descriptor language */ /* fmd.c, parser frontend and utility functions for flashmap descriptor language */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "fmd.h" #include "fmd.h"

View File

@ -1,14 +1,5 @@
/* parser frontend and utility functions for flashmap descriptor language */ /* parser frontend and utility functions for flashmap descriptor language */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef FMD_H_ #ifndef FMD_H_
#define FMD_H_ #define FMD_H_

View File

@ -1,14 +1,5 @@
/* parser generator for flashmap descriptor language */ /* parser generator for flashmap descriptor language */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
%{ %{
#include "fmd_scanner.h" #include "fmd_scanner.h"

View File

@ -1,14 +1,5 @@
/* scanner generator for flashmap descriptor language */ /* scanner generator for flashmap descriptor language */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
%{ %{
#include "fmd_parser.h" #include "fmd_parser.h"

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#define FV_SIGNATURE 0x4856465f #define FV_SIGNATURE 0x4856465f
typedef struct { typedef struct {

View File

@ -1,14 +1,5 @@
/* cbfstool, CLI utility for creating rmodules */ /* cbfstool, CLI utility for creating rmodules */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* ifwitool, CLI utility for IFWI manipulation */ /* ifwitool, CLI utility for IFWI manipulation */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <commonlib/endian.h> #include <commonlib/endian.h>
#include <getopt.h> #include <getopt.h>

View File

@ -1,14 +1,5 @@
/* This file is part of coreboot */ /* This file is part of coreboot */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/* /*
* Linux/i386 loader * Linux/i386 loader

View File

@ -1,14 +1,5 @@
/* linux_trampoline */ /* linux_trampoline */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/* NOTE: THIS CODE MUST REMAIN POSITION INDEPENDENT /* NOTE: THIS CODE MUST REMAIN POSITION INDEPENDENT
* IT SHOULDN'T USE THE STACK * IT SHOULDN'T USE THE STACK

View File

@ -1,14 +1,5 @@
/* This file is part of coreboot */ /* This file is part of coreboot */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/* /*
* This file contains #define constants used by both the Linux * This file contains #define constants used by both the Linux

View File

@ -1,14 +1,5 @@
/* unsigned OPTION type */ /* unsigned OPTION type */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef OPTION_H_ #ifndef OPTION_H_
#define OPTION_H_ #define OPTION_H_

View File

@ -1,14 +1,5 @@
/* read and write binary file "partitions" described by FMAP */ /* read and write binary file "partitions" described by FMAP */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "partitioned_file.h" #include "partitioned_file.h"

View File

@ -1,14 +1,5 @@
/* read and write binary file "partitions" described by FMAP */ /* read and write binary file "partitions" described by FMAP */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef PARITITONED_FILE_H_ #ifndef PARITITONED_FILE_H_
#define PARITITONED_FILE_H_ #define PARITITONED_FILE_H_

View File

@ -1,14 +1,5 @@
/* CLI utility for creating rmodules */ /* CLI utility for creating rmodules */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef TOOL_RMODULE_H #ifndef TOOL_RMODULE_H
#define TOOL_RMODULE_H #define TOOL_RMODULE_H

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,6 @@
## This file is part of the coreboot project. ## This file is part of the coreboot project.
## ##
## This program is free software; you can redistribute it and/or modify ## SPDX-License-Identifier: GPL-2.0-only
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
PROGRAM = cbmem PROGRAM = cbmem
ROOT = ../../src ROOT = ../../src

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,15 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# On some systems, `parted` and `debugfs` are located in /sbin. # On some systems, `parted` and `debugfs` are located in /sbin.
export PATH="$PATH:/sbin" export PATH="$PATH:/sbin"

View File

@ -1,15 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
set -x set -x

View File

@ -1,14 +1,7 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
main() { main() {
if [ "$#" != 1 ]; then if [ "$#" != 1 ]; then

View File

@ -1,14 +1,6 @@
## This file is part of the coreboot project. ## This file is part of the coreboot project.
## ##
## This program is free software; you can redistribute it and/or modify ## SPDX-License-Identifier: GPL-2.0-only
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
TOOLCHAIN_ARCHES := i386 x64 arm aarch64 riscv ppc64 nds32le TOOLCHAIN_ARCHES := i386 x64 arm aarch64 riscv ppc64 nds32le

View File

@ -12,15 +12,7 @@
# This is used for all of our color printing. # This is used for all of our color printing.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
cd "$(dirname "$0")" || exit 1 cd "$(dirname "$0")" || exit 1

View File

@ -1,14 +1,7 @@
## This file is part of the coreboot project. ## This file is part of the coreboot project.
## ##
## This program is free software; you can redistribute it and/or modify ## SPDX-License-Identifier: GPL-2.0-only
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
export top=$(abspath $(CURDIR)/../..) export top=$(abspath $(CURDIR)/../..)
export crossgcc_version=$(shell $(top)/util/crossgcc/buildgcc --version | grep 'cross toolchain' | sed 's/^.*\sv//' | sed 's/\s.*$$//') export crossgcc_version=$(shell $(top)/util/crossgcc/buildgcc --version | grep 'cross toolchain' | sed 's/^.*\sv//' | sed 's/\s.*$$//')
export DOCKER:=$(shell $(SHELL) -c "command -v docker") export DOCKER:=$(shell $(SHELL) -c "command -v docker")

View File

@ -4,15 +4,7 @@
# https://www.coreboot.org/coreboot_Options # https://www.coreboot.org/coreboot_Options
# based on http://landley.net/kdocs/make/menuconfig2html.py # based on http://landley.net/kdocs/make/menuconfig2html.py
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
import glob import glob

View File

@ -1,14 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
set -e set -e
# This script is the entry point for this container and expects two git # This script is the entry point for this container and expects two git

View File

@ -1,15 +1,7 @@
#!/usr/bin/env python2 #!/usr/bin/env python2
# dtd_parser.py - DTD structure parser # dtd_parser.py - DTD structure parser
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
''' '''
DTD string parser/generator. DTD string parser/generator.

View File

@ -1,12 +1,4 @@
## This program is free software; you can redistribute it and/or modify ## SPDX-License-Identifier: GPL-2.0-only
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
CC = gcc CC = gcc
CFLAGS = -O2 -Wall -Wextra CFLAGS = -O2 -Wall -Wextra

View File

@ -1,13 +1,6 @@
#!/bin/bash #!/bin/bash
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
LANG=C LANG=C
# Some tools emit errors that don't matter (bugs in lspci/PCI firmware and lsusb). # Some tools emit errors that don't matter (bugs in lspci/PCI firmware and lsusb).

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,15 +1,7 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
DATE="" DATE=""
GITREV="" GITREV=""

View File

@ -1,15 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
## This file is part of the coreboot project. ## This file is part of the coreboot project.
## ##
## This program is free software; you can redistribute it and/or modify ## SPDX-License-Identifier: GPL-2.0-only
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
# In the hooks, use the same `make` tool as used when running `make gitconfig`, # In the hooks, use the same `make` tool as used when running `make gitconfig`,
# e.g. `remake gitconfig` will set `remake` to be run by the hooks. # e.g. `remake gitconfig` will set `remake` to be run by the hooks.

View File

@ -1,15 +1,7 @@
#!/bin/sh #!/bin/sh
## This file is part of the coreboot project. ## This file is part of the coreboot project.
## ##
## This program is free software; you can redistribute it and/or modify ## SPDX-License-Identifier: GPL-2.0-only
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
set -e # -o errexit set -e # -o errexit
set -u # -o nounset set -u # -o nounset

View File

@ -1,14 +1,6 @@
# ifdtool - dump Intel Firmware Descriptor information # ifdtool - dump Intel Firmware Descriptor information
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
PROGRAM = ifdtool PROGRAM = ifdtool

View File

@ -1,14 +1,5 @@
/* ifdtool - dump Intel Firmware Descriptor information */ /* ifdtool - dump Intel Firmware Descriptor information */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* ifdtool - dump Intel Firmware Descriptor information */ /* ifdtool - dump Intel Firmware Descriptor information */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>

View File

@ -1,15 +1,5 @@
/* intelmetool Dump interesting things about Management Engine even if hidden */ /* intelmetool Dump interesting things about Management Engine even if hidden */
/* /* SPDX-License-Identifier: GPL-2.0-or-later */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License,
* or (at your option), any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <inttypes.h> #include <inttypes.h>

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#define ME_NOT_PRESENT 0 #define ME_NOT_PRESENT 0
#define ME_FOUND_NOTHING 1 #define ME_FOUND_NOTHING 1

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include "inteltool.h" #include "inteltool.h"

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef INTELTOOL_H #ifndef INTELTOOL_H
#define INTELTOOL_H 1 #define INTELTOOL_H 1

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system. */ /* inteltool - dump all registers on an Intel CPU + chipset based system. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef INTELTOOL_PCR_H #ifndef INTELTOOL_PCR_H
#define INTELTOOL_PCR_H 1 #define INTELTOOL_PCR_H 1

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,5 @@
/* inteltool - dump all registers on an Intel CPU + chipset based system */ /* inteltool - dump all registers on an Intel CPU + chipset based system */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,14 +1,6 @@
## This file is part of the coreboot project. ## This file is part of the coreboot project.
## ##
## This program is free software; you can redistribute it and/or modify ## SPDX-License-Identifier: GPL-2.0-only
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
PROGRAM = intelvbttool PROGRAM = intelvbttool
CC ?= gcc CC ?= gcc

View File

@ -1,13 +1,4 @@
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <sys/mman.h> #include <sys/mman.h>

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,14 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-only */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,15 +1,5 @@
/* This file is part of the coreboot project. */ /* This file is part of the coreboot project. */
/* /* SPDX-License-Identifier: GPL-2.0-or-later */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <ctype.h> #include <ctype.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,13 +1,5 @@
#!/usr/bin/env python2 #!/usr/bin/env python2
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
""" """
This utilty generate json output to post comment in gerrit. This utilty generate json output to post comment in gerrit.

View File

@ -1,15 +1,8 @@
#!/usr/bin/env perl #!/usr/bin/env perl
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# perltidy -l=123 # perltidy -l=123
package kconfig_lint; package kconfig_lint;

View File

@ -2,15 +2,8 @@
# #
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#set -x # uncomment for debug #set -x # uncomment for debug
usage () { usage () {

View File

@ -1,16 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# DESCR: Check that files in have valid license headers # DESCR: Check that files in have valid license headers
# $1 is an optional command line parameter containing directories to check # $1 is an optional command line parameter containing directories to check

View File

@ -1,15 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# DESCR: Check that no symbol #defined in any romstage.c is used elsewhere # DESCR: Check that no symbol #defined in any romstage.c is used elsewhere
DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u` DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u`

View File

@ -1,15 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# DESCR: Checkpatch on .c, .h, & Kconfig files in the tree # DESCR: Checkpatch on .c, .h, & Kconfig files in the tree
LC_ALL=C export LC_ALL LC_ALL=C export LC_ALL

View File

@ -1,15 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# DESCR: check Kconfig files for warnings and errors # DESCR: check Kconfig files for warnings and errors
LC_ALL=C export LC_ALL LC_ALL=C export LC_ALL

View File

@ -1,15 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# DESCR: Check that variables have fully qualified types # DESCR: Check that variables have fully qualified types
LC_ALL=C export LC_ALL LC_ALL=C export LC_ALL

View File

@ -1,16 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# DESCR: Run checkpatch on directories that are known good # DESCR: Run checkpatch on directories that are known good
PIDS="" PIDS=""

View File

@ -1,15 +1,8 @@
#!/bin/sh #!/bin/sh
# This file is part of the coreboot project. # This file is part of the coreboot project.
# #
# This program is free software; you can redistribute it and/or modify # SPDX-License-Identifier: GPL-2.0-only
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# DESCR: Check that files end with a single newline # DESCR: Check that files end with a single newline
LC_ALL=C export LC_ALL LC_ALL=C export LC_ALL

Some files were not shown because too many files have changed in this diff Show More