PR binutils/12964

* Makefile.am (embedspu): Use awk rather than sed.
	* Makefile.in: Regenerate.
This commit is contained in:
Alan Modra 2011-08-08 00:27:15 +00:00
parent e521492eb5
commit 066a66625f
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-08-08 Marcus Comstedt <marcus@mc.pp.se>
PR binutils/12964
* Makefile.am (embedspu): Use awk rather than sed.
* Makefile.in: Regenerate.
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and

View File

@ -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.

View File

@ -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.