Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/bfd Explain our local changes



details:   https://anonhg.NetBSD.org/src/rev/4f897ea43594
branches:  trunk
changeset: 372779:4f897ea43594
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 25 22:34:45 2022 +0000

description:
Explain our local changes

diffstat:

 external/gpl3/binutils/dist/bfd/Makefile.am |  4 ++++
 external/gpl3/binutils/dist/bfd/Makefile.in |  4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diffs (40 lines):

diff -r 8d3c8d8373ea -r 4f897ea43594 external/gpl3/binutils/dist/bfd/Makefile.am
--- a/external/gpl3/binutils/dist/bfd/Makefile.am       Sun Dec 25 22:14:05 2022 +0000
+++ b/external/gpl3/binutils/dist/bfd/Makefile.am       Sun Dec 25 22:34:45 2022 +0000
@@ -842,6 +842,8 @@
        $(AM_V_CC)$(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
 endif
 
+# change IMPSRC ($<) to ALLSRC ($>) in the following rules so they work with
+# bmake
 elf32-target.h : elfxx-target.h
        $(AM_V_GEN)$(SED) -e s/NN/32/g < $> > $@
 
@@ -1008,4 +1010,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC)$(LTCOMPILE) -c -o $@ $< $(NO_WERROR)
 
+# Comment out the doc snippet because it has pattern rules our make does not
+# understand
 #include doc/local.mk
diff -r 8d3c8d8373ea -r 4f897ea43594 external/gpl3/binutils/dist/bfd/Makefile.in
--- a/external/gpl3/binutils/dist/bfd/Makefile.in       Sun Dec 25 22:14:05 2022 +0000
+++ b/external/gpl3/binutils/dist/bfd/Makefile.in       Sun Dec 25 22:34:45 2022 +0000
@@ -2361,6 +2361,8 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC)$(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
 
+# change IMPSRC ($<) to ALLSRC ($>) in the following rules so they work with
+# bmake
 elf32-target.h : elfxx-target.h
        $(AM_V_GEN)$(SED) -e s/NN/32/g < $> > $@
 
@@ -2499,6 +2501,8 @@
          doc/chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC) && \
        touch $@
 
+# Comment out the doc snippet because it has pattern rules our make does not
+# understand
 #.PRECIOUS: doc/%.stamp
 #doc/%.texi: doc/%.stamp ; @true
 #doc/%.stamp: $(srcdir)/%.h $(srcdir)/doc/doc.str $(MKDOC) doc/$(am__dirstamp)



Home | Main Index | Thread Index | Old Index