]> git.ipfire.org Git - people/ms/gcc.git/commitdiff
build: Add libgrust as compilation modules
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 27 Feb 2023 16:10:38 +0000 (17:10 +0100)
committerCohenArthur <arthur.cohen@embecosm.com>
Wed, 15 Mar 2023 16:27:27 +0000 (16:27 +0000)
Define the libgrust directory as a host compilation module as well as
for targets.

ChangeLog:

* Makefile.def: Add libgrust as host & target module.
* configure.ac: Add libgrust to host tools list.

gcc/rust/ChangeLog:

* config-lang.in: Add libgrust as a target module for the rust
language.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Makefile.def
configure.ac
gcc/rust/config-lang.in

index 35e994eb77efcc4d09afde8c9473216703623a2e..0ba96a7a0960d758c89c522a83b3fb006a558245 100644 (file)
@@ -147,6 +147,7 @@ host_modules= { module= libcc1; extra_configure_flags=--enable-shared; };
 host_modules= { module= gotools; };
 host_modules= { module= libctf; bootstrap=true; };
 host_modules= { module= libsframe; bootstrap=true; };
+host_modules= { module= libgrust; };
 
 target_modules = { module= libstdc++-v3;
                   bootstrap=true;
@@ -190,6 +191,7 @@ target_modules = { module= libgm2; lib_path=.libs; };
 target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
 target_modules = { module= libitm; lib_path=.libs; };
 target_modules = { module= libatomic; bootstrap=true; lib_path=.libs; };
+target_modules = { module= libgrust; };
 
 // These are (some of) the make targets to be done in each subdirectory.
 // Not all; these are the ones which don't have special options.
index 2b612dce6e9a1d3ab5eab994d7cf2a09c8a04916..535236cd620e06be7e30aad72aeb2f138aaa1798 100644 (file)
@@ -132,7 +132,7 @@ build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
 
 # these libraries are used by various programs built for the host environment
 #f
-host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe"
+host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe libgrust "
 
 # these tools are built for the host environment
 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
@@ -163,6 +163,7 @@ target_libraries="target-libgcc \
                target-libada \
                target-libgm2 \
                target-libgo \
+               target-libgrust \
                target-libphobos \
                target-zlib"
 
index b1e3a9d323ddcdf61e0a4db67f276ce934ade83c..88ddaa9816ff0bb17b60a5e51a94bd106f7cc676 100644 (file)
@@ -29,6 +29,6 @@ compilers="crab1\$(exeext)"
 
 build_by_default="no"
 
-target_libs="target-libffi target-libbacktrace"
+target_libs="target-libffi target-libbacktrace target-libgrust"
 
 gtfiles="\$(srcdir)/rust/rust-lang.cc"