summaryrefslogtreecommitdiff
path: root/util/cbfstool/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-05-10 20:45:08 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-11 19:39:12 +0000
commit1dd517c8dd5f33c58ee6a66cb8a6d053209842ea (patch)
tree1f203324f41cedf93270f9ee6209902bc678a42e /util/cbfstool/Makefile
parent55189c9d33568ab26ee63e8f7474364a48423ec3 (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/Makefile')
-rw-r--r--util/cbfstool/Makefile1
1 files changed, 1 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