summaryrefslogtreecommitdiff
path: root/util/cbfstool/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-01 17:58:08 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-02 18:43:23 +0100
commit5dda4df4246ff4b4fe4e84311c6fc7b723ad7efb (patch)
treeaedb89544facf01ce92e5b58d7a6efff91cda7a4 /util/cbfstool/Makefile
parent0316e1a69fa5d60f70afca00686d4b18a04e6dd2 (diff)
downloadcoreboot-5dda4df4246ff4b4fe4e84311c6fc7b723ad7efb.tar.xz
cbfstool: remove trampoline_start and trampoline_size
It's not needed, so we can remove some extra file mangling, too. Change-Id: I80d707708e70c07a29653258b4cb6e9cd88d3de3 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/12508 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/cbfstool/Makefile')
-rw-r--r--util/cbfstool/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile
index b595297c8d..61a1a63257 100644
--- a/util/cbfstool/Makefile
+++ b/util/cbfstool/Makefile
@@ -24,9 +24,6 @@ linux_trampoline.c: linux_trampoline.S
$(OBJCOPY) -Obinary -j .data linux_trampoline trampoline
echo "/* This file is automatically generated. Do not manually change */" > trampoline.c
xxd -c 16 -i trampoline >> trampoline.c
- perl -pi -e 's,unsigned int.*$$,,g;s,unsigned char,const unsigned char,g' trampoline.c
- echo "const void * const trampoline_start = &trampoline;" >> trampoline.c
- echo "const unsigned long trampoline_size = sizeof trampoline;" >> trampoline.c
mv trampoline.c linux_trampoline.c
rm linux_trampoline trampoline