public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Re: bfd BLD-POTFILES.in dependencies
@ 2022-10-05 23:57 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2022-10-05 23:57 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=769a27ade5880ae760b061863f0e9d33e7633d84

commit 769a27ade5880ae760b061863f0e9d33e7633d84
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Oct 6 09:45:56 2022 +1030

    Re: bfd BLD-POTFILES.in dependencies
    
    Removing $BLD_POTFILES from BFD-POTFILES.in was correct, but left a
    hole in dependencies.
    make[4]: Entering directory '/home/alan/build/gas/all/bfd/po'
    make[4]: *** No rule to make target '../elf32-aarch64.c', needed by '/home/alan/src/binutils-gdb/bfd/po/bfd.pot'.  Stop.
    
            * Makefile.am (BUILT_SOURCES): Add BUILD_CFILES.
            * Makefile.in: Regenerate.

Diff:
---
 bfd/Makefile.am | 2 +-
 bfd/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 98a487b7fcd..794d992310d 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -719,7 +719,7 @@ BUILD_HFILES = \
 	bfdver.h elf32-target.h elf64-target.h targmatch.h
 
 # Ensure they are built early:
-BUILT_SOURCES = $(BUILD_HFILES)
+BUILT_SOURCES = $(BUILD_HFILES) $(BUILD_CFILES)
 
 HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
 
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 3c9ebf38f83..bdf12c99cfd 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -1185,7 +1185,7 @@ BUILD_HFILES = \
 
 
 # Ensure they are built early:
-BUILT_SOURCES = $(BUILD_HFILES)
+BUILT_SOURCES = $(BUILD_HFILES) $(BUILD_CFILES)
 HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
 BFD_H_DEPS = $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/diagnostics.h
 LOCAL_H_DEPS = libbfd.h sysdep.h config.h

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-05 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 23:57 [binutils-gdb] Re: bfd BLD-POTFILES.in dependencies Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).