From 1dd517c8dd5f33c58ee6a66cb8a6d053209842ea Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 10 May 2020 20:45:08 +0200 Subject: util/cbfstool: Add SPDX header to generated linux_trampoline code, too Change-Id: Id84244bb0c54326ea27be8801246fdeff039fb63 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/41218 Reviewed-by: Paul Menzel Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- util/cbfstool/Makefile | 1 + util/cbfstool/linux_trampoline.c | 1 + 2 files changed, 2 insertions(+) (limited to 'util/cbfstool') diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile index 5251b2d872..ad8f9a88d0 100644 --- a/util/cbfstool/Makefile +++ b/util/cbfstool/Makefile @@ -43,6 +43,7 @@ linux_trampoline.c: linux_trampoline.S $(CC) -m32 -o linux_trampoline linux_trampoline.S -ffreestanding -nostdlib -nostdinc -Wl,--defsym=_start=0 $(OBJCOPY) -Obinary -j .data linux_trampoline trampoline echo "/* This file is automatically generated. Do not manually change */" > trampoline.c + echo "/* SPDX-License-Identifier: GPL-2.0-only */" >> trampoline.c xxd -c 16 -i trampoline >> trampoline.c mv trampoline.c linux_trampoline.c rm linux_trampoline trampoline diff --git a/util/cbfstool/linux_trampoline.c b/util/cbfstool/linux_trampoline.c index 87f174ceb3..17588cb930 100644 --- a/util/cbfstool/linux_trampoline.c +++ b/util/cbfstool/linux_trampoline.c @@ -1,4 +1,5 @@ /* This file is automatically generated. Do not manually change */ +/* SPDX-License-Identifier: GPL-2.0-only */ unsigned char trampoline[] = { 0xfc, 0x31, 0xd2, 0xb9, 0x00, 0x00, 0x00, 0x00, 0xbb, 0x00, 0x00, 0x01, 0x00, 0x01, 0xcb, 0x8b, 0x01, 0x3d, 0x4c, 0x42, 0x49, 0x4f, 0x74, 0x07, 0x83, 0xc1, 0x10, 0x39, 0xcb, 0x75, 0xe9, 0x39, -- cgit v1.2.3