diff options
| author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-02-29 08:44:49 +0100 |
|---|---|---|
| committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-08-01 13:11:28 +0200 |
| commit | 8e284d026e8b234d2eb9b2ffa5ab3348dbe656be (patch) | |
| tree | 275743131f2b382fc6156a7364c7ece0036d2596 /libgrust/Makefile.am | |
| parent | acf10f83abbf57846583ac6feef3f62982f0da5d (diff) | |
Rust: Move 'libformat_parser' build into libgrust
Addresses #2883.
contrib/
* gcc_update (files_and_dependencies): Update for
'libformat_parser' in libgrust.
gcc/rust/
* Make-lang.in (LIBFORMAT_PARSER): Point to 'libformat_parser'
build in libgrust.
(%.toml:, $(LIBFORMAT_PARSER):): Remove.
libgrust/
* libformat_parser/Makefile.am: New.
* Makefile.am [!TARGET_LIBRARY] (SUBDIRS): Add 'libformat_parser'.
* configure.ac: Handle it.
(TARGET_LIBRARY): New 'AM_CONDITIONAL'.
* libformat_parser/Makefile.in: Generate.
* Makefile.in: Regenerate.
* configure: Likewise.
Diffstat (limited to 'libgrust/Makefile.am')
| -rw-r--r-- | libgrust/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgrust/Makefile.am b/libgrust/Makefile.am index 5b38c8842cb..7a4512cae96 100644 --- a/libgrust/Makefile.am +++ b/libgrust/Makefile.am @@ -11,7 +11,11 @@ TOP_GCCDIR := $(shell cd $(top_srcdir) && cd .. && pwd) GCC_DIR = $(TOP_GCCDIR)/gcc RUST_SRC = $(GCC_DIR)/rust -SUBDIRS = libproc_macro_internal +SUBDIRS = +if !TARGET_LIBRARY +SUBDIRS += libformat_parser +endif +SUBDIRS += libproc_macro_internal RUST_BUILDDIR := $(shell pwd) |
