Details on this package are located in Section 8.64.2, “Contents of Make.”
The Make package contains a program for controlling the generation of executables and other non-source files of a package from source files.
Update helper scripts to allow cross compilation for loongarch:
tar xf ../config-20210826.tar.xz --strip-components=1 -C build-aux
Prepare Make for compilation:
./configure --prefix=/usr \ --without-guile \ --host=$LFS_TGT \ --build=$(build-aux/config.guess)
The meaning of the new configure option:
--without-guile
Although we are cross-compiling, configure tries to use guile from the build host if it finds it. This makes compilation fail, so this switch prevents using it.
Compile the package:
make
Install the package:
make DESTDIR=$LFS install
Details on this package are located in Section 8.64.2, “Contents of Make.”