mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-06 17:41:42 +00:00
Make license collection optional, on by default
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
4270b8e62e
commit
8fe21d70a2
@ -85,6 +85,15 @@ config BUILD_MANUALS
|
|||||||
Build the PDF and HTML manuals for the main components such as
|
Build the PDF and HTML manuals for the main components such as
|
||||||
binutils, GCC, GDB, and the C library.
|
binutils, GCC, GDB, and the C library.
|
||||||
|
|
||||||
|
config INSTALL_LICENSES
|
||||||
|
bool "Install licenses"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Collect the license files for all the components that went into
|
||||||
|
producing this toolchain (including the crosstool-NG itself)
|
||||||
|
and place them in /share/licenses directory within the prefix
|
||||||
|
directory.
|
||||||
|
|
||||||
config PREFIX_DIR_RO
|
config PREFIX_DIR_RO
|
||||||
bool
|
bool
|
||||||
prompt "Render the toolchain read-only"
|
prompt "Render the toolchain read-only"
|
||||||
|
@ -144,7 +144,9 @@ do_finish() {
|
|||||||
CT_DoForceRmdir "${CT_DEBUGROOT_DIR}/"{,usr/}{,share/}{man,info}
|
CT_DoForceRmdir "${CT_DEBUGROOT_DIR}/"{,usr/}{,share/}{man,info}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${CT_INSTALL_LICENSES}" = y ]; then
|
||||||
CT_InstallCopyingInformation
|
CT_InstallCopyingInformation
|
||||||
|
fi
|
||||||
|
|
||||||
CT_EndStep
|
CT_EndStep
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user