aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-10 01:41:48 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-10 01:43:31 -0400
commit6defcd57e9df4f61cd0c59e3d9b66b6b071af808 (patch)
tree65a3c4cbe51f16eb3262abc3a5cf78f611f198fa /sim/bfin/Makefile.in
parenta24582147f2c74603852e12bf312eede39f56c0d (diff)
downloadgdb-6defcd57e9df4f61cd0c59e3d9b66b6b071af808.zip
gdb-6defcd57e9df4f61cd0c59e3d9b66b6b071af808.tar.gz
gdb-6defcd57e9df4f61cd0c59e3d9b66b6b071af808.tar.bz2
sim: bfin: fix up linux-fixed-code.h generation more [PR sim/13160]
Add a trailing semi-colon to the sed print command as the BSD sed implementation wants it. It's a nop otherwise and works fine on GNU/etc... implementations too.
Diffstat (limited to 'sim/bfin/Makefile.in')
-rw-r--r--sim/bfin/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/Makefile.in b/sim/bfin/Makefile.in
index a7f852d..941ffea 100644
--- a/sim/bfin/Makefile.in
+++ b/sim/bfin/Makefile.in
@@ -58,7 +58,7 @@ $(srcdir)/linux-fixed-code.h: @MAINTAINER_MODE_TRUE@ $(srcdir)/linux-fixed-code.
$(OBJDUMP_FOR_TARGET) -d -z linux-fixed-code.o > $@.dis; \
sed -n \
-e 's:^[^ ]* :0x:' \
- -e '/^0x/{s: .*::;s: *$$:,:;s: :, 0x:g;p}' \
+ -e '/^0x/{s: .*::;s: *$$:,:;s: :, 0x:g;p;}' \
$@.dis; \
rm -f $@.dis; \
echo "};" \