From 2870ffae518798e2f18c110a91a420d65a6e712b Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Wed, 23 Jan 2019 09:52:04 +0200 Subject: Moved uClibc configuration installation to uClibc.sh Signed-off-by: Dima Krasner --- scripts/functions | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'scripts/functions') diff --git a/scripts/functions b/scripts/functions index c97b9f40..877426b7 100644 --- a/scripts/functions +++ b/scripts/functions @@ -2453,3 +2453,14 @@ CT_InstallCopyingInformation() shopt -u nullglob } + +CT_InstallConfigurationFile() +{ + local path="${1}" + local suffix="${2}" + + CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}/bin" + CT_DoExecLog DEBUG ${install} -m 0755 "${CT_LIB_DIR}/scripts/toolchain-config.in" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-$suffix.config" + CT_DoExecLog DEBUG ${sed} -i -e 's,@@grep@@,"'"${grep}"'",;' "${CT_PREFIX_DIR}/bin/${CT_TARGET}-$suffix.config" + bzip2 -c -9 "$1" >>"${CT_PREFIX_DIR}/bin/${CT_TARGET}-$suffix.config" +} -- cgit v1.2.3