From: Alan Modra Date: Mon, 8 Aug 2011 00:27:15 +0000 (+0000) Subject: PR binutils/12964 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=066a66625f57511b9240cf37f8ab61e26d9f394c;p=binutils-gdb.git PR binutils/12964 * Makefile.am (embedspu): Use awk rather than sed. * Makefile.in: Regenerate. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e26bb64c61b..4cdbbbe7962 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2011-08-08 Marcus Comstedt + + PR binutils/12964 + * Makefile.am (embedspu): Use awk rather than sed. + * Makefile.in: Regenerate. + 2011-07-27 Jan Kratochvil * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 76fc50a1a05..bbe58e2132d 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -288,7 +288,7 @@ bin2c$(EXEEXT_FOR_BUILD): bin2c.c $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c embedspu: embedspu.sh Makefile - sed "/^program_transform_name=/cprogram_transform_name=$(program_transform_name)" < $< > $@ + awk '/^program_transform_name=/ {print "program_transform_name=\"$(program_transform_name)\""; next} {print}' < $< > $@ chmod a+x $@ # We need these for parallel make. diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 1f119d88862..9f10781d58a 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -1302,7 +1302,7 @@ bin2c$(EXEEXT_FOR_BUILD): bin2c.c $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c embedspu: embedspu.sh Makefile - sed "/^program_transform_name=/cprogram_transform_name=$(program_transform_name)" < $< > $@ + awk '/^program_transform_name=/ {print "program_transform_name=\"$(program_transform_name)\""; next} {print}' < $< > $@ chmod a+x $@ # We need these for parallel make.