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>
This commit is contained in:
parent
55189c9d33
commit
1dd517c8dd
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue