diff options
author | Patrick Georgi <pgeorgi@google.com> | 2020-05-10 20:45:08 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-11 19:39:12 +0000 |
commit | 1dd517c8dd5f33c58ee6a66cb8a6d053209842ea (patch) | |
tree | 1f203324f41cedf93270f9ee6209902bc678a42e /util/cbfstool | |
parent | 55189c9d33568ab26ee63e8f7474364a48423ec3 (diff) |
util/cbfstool: Add SPDX header to generated linux_trampoline code, too
Change-Id: Id84244bb0c54326ea27be8801246fdeff039fb63
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41218
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/cbfstool')
-rw-r--r-- | util/cbfstool/Makefile | 1 | ||||
-rw-r--r-- | util/cbfstool/linux_trampoline.c | 1 |
2 files changed, 2 insertions, 0 deletions
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, |