Commit 1dd517c8 authored by Patrick Georgi's avatar Patrick Georgi
Browse files

util/cbfstool: Add SPDX header to generated linux_trampoline code, too

Change-Id: Id84244bb0c54326ea27be8801246fdeff039fb63
Signed-off-by: default avatarPatrick Georgi <>

Reviewed-by: default avatarPaul Menzel <>
Reviewed-by: default avatarAngel Pons <>
Tested-by: default avatarbuild bot (Jenkins) <>
parent 55189c9d
......@@ -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
/* 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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment