HomeFreeBSD

Proper support for DESTDIR and INSTALL_MOD_PATH

Description

Proper support for DESTDIR and INSTALL_MOD_PATH

The environment variables DESTDIR and INSTALL_MOD_PATH must
be mutually exclusive.

https://www.gnu.org/prep/standards/html_node/DESTDIR.html
https://www.kernel.org/doc/Documentation/kbuild/modules.txt

This issue was discussed in this Buildroot thread:
https://lists.buildroot.org/pipermail/buildroot/2021-August/621350.html

I saw this behavior in other different projects, as:

For the above reasons, INSTALL_MOD_PATH will be set as DESTDIR
by default.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Closes #12577

Details

Provenance
José Luis Salvador Rufo <salvador.joseluis@gmail.com>Authored on Oct 1 2021, 5:44 PM
GitHub <noreply@github.com>Committed on Oct 1 2021, 5:44 PM
Parents
rG96ad227a9dad: ZTS: Minimize udev_wait in zvol_misc tests
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGed3a3bdb0d59: Proper support for DESTDIR and INSTALL_MOD_PATH (authored by José Luis Salvador Rufo <salvador.joseluis@gmail.com>).Oct 1 2021, 5:44 PM