mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
config.sub/config.guess must either be executable
or be run through shell Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
5159cd7bc0
commit
bc542408ca
@ -743,10 +743,15 @@ msg "*** Gathering the list of data files to install"
|
|||||||
declare -A seen_files
|
declare -A seen_files
|
||||||
echo -n "verbatim_data ="
|
echo -n "verbatim_data ="
|
||||||
find config contrib packages samples scripts -type f | LANG=C sort | while read f; do
|
find config contrib packages samples scripts -type f | LANG=C sort | while read f; do
|
||||||
|
# Implement some kind of .installignore for these files?
|
||||||
case "${f}" in
|
case "${f}" in
|
||||||
# Skip certain files not needed at runtime (used above for generating kconfig
|
# Skip certain files not needed at runtime (used above for generating kconfig
|
||||||
# fragments).
|
# fragments).
|
||||||
packages/*.help|packages/*.desc)
|
packages/*.help | packages/*.desc)
|
||||||
|
continue
|
||||||
|
;;
|
||||||
|
# And, some file automake insists we must have
|
||||||
|
scripts/compile | scripts/missing | scripts/depcomp | scripts/ltmain.sh | scripts/install-sh)
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
# Special hack for configure.in.in - replace with the file that configure
|
# Special hack for configure.in.in - replace with the file that configure
|
||||||
|
@ -986,17 +986,17 @@ CT_GetFile()
|
|||||||
# Those from CT_TOP_DIR, if they exist, will be be more recent than those from CT_LIB_DIR.
|
# Those from CT_TOP_DIR, if they exist, will be be more recent than those from CT_LIB_DIR.
|
||||||
CT_DoConfigGuess() {
|
CT_DoConfigGuess() {
|
||||||
if [ -x "${CT_TOP_DIR}/scripts/config.guess" ]; then
|
if [ -x "${CT_TOP_DIR}/scripts/config.guess" ]; then
|
||||||
"${CT_TOP_DIR}/scripts/config.guess"
|
"${CT_CONFIG_SHELL}" "${CT_TOP_DIR}/scripts/config.guess"
|
||||||
else
|
else
|
||||||
"${CT_LIB_DIR}/scripts/config.guess"
|
"${CT_CONFIG_SHELL}" "${CT_LIB_DIR}/scripts/config.guess"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
CT_DoConfigSub() {
|
CT_DoConfigSub() {
|
||||||
if [ -x "${CT_TOP_DIR}/scripts/config.sub" ]; then
|
if [ -x "${CT_TOP_DIR}/scripts/config.sub" ]; then
|
||||||
"${CT_TOP_DIR}/scripts/config.sub" "$@"
|
"${CT_CONFIG_SHELL}" "${CT_TOP_DIR}/scripts/config.sub" "$@"
|
||||||
else
|
else
|
||||||
"${CT_LIB_DIR}/scripts/config.sub" "$@"
|
"${CT_CONFIG_SHELL}" "${CT_LIB_DIR}/scripts/config.sub" "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user