t-avr: Correct avr-mmcu.texi dependencies.
* config/avr/t-avr: Correct avr-mmcu.texi dependencies. (s-avr-mmcu-texi): Don't sed on gen-avr-mmcu-texi output. * doc/avr-mmcu.texi (svn:eol-style): Set to native. From-SVN: r188065
This commit is contained in:
parent
c61f89850a
commit
5a0563dc56
2 changed files with 16 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-05-31 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
* config/avr/t-avr: Correct avr-mmcu.texi dependencies.
|
||||
(s-avr-mmcu-texi): Don't sed on gen-avr-mmcu-texi output.
|
||||
* doc/avr-mmcu.texi (svn:eol-style): Set to native.
|
||||
|
||||
2012-05-31 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree-loop-distribution.c (struct partition_s): New struct,
|
||||
|
|
|
@ -47,10 +47,18 @@ gen-avr-mmcu-texi$(build_exeext): $(srcdir)/config/avr/gen-avr-mmcu-texi.c \
|
|||
$(TM_H) $(AVR_MCUS) $(srcdir)/config/avr/avr-devices.c
|
||||
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< -o $@
|
||||
|
||||
avr-devices.o: s-avr-mmcu-texi
|
||||
# Make sure that the -mmcu= documentation is in sync with the compiler.
|
||||
$(srcdir)/doc/avr-mmcu.texi: s-avr-mmcu-texi; @true
|
||||
|
||||
# invoke.texi @includes avr-mmcu.texi. Put this dependency here instead
|
||||
# of in the global Makefile so that developers of other backends are not
|
||||
# bothered with AVR stuff.
|
||||
$(srcdir)/doc/invoke.texi: $(srcdir)/doc/avr-mmcu.texi
|
||||
|
||||
# Ensure that device support is in sync with -mmcu= documentation.
|
||||
s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext)
|
||||
$(RUN_GEN) ./$< | sed -e 's:\r::g' > avr-mmcu.texi
|
||||
$(RUN_GEN) ./$< > tmp-avr-mmcu.texi
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-avr-mmcu.texi avr-mmcu.texi
|
||||
@if cmp -s $(srcdir)/doc/avr-mmcu.texi avr-mmcu.texi; then \
|
||||
$(STAMP) $@; \
|
||||
else \
|
||||
|
|
Loading…
Add table
Reference in a new issue