mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-17 14:58:12 +00:00
configure: fix kconfig option names
In the process of converting to autoconf, the kconfig option were not properly translated. Fix that. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
@ -52,8 +52,8 @@ AC_DEFUN(
|
|||||||
[ACX_SET_KCONFIG_OPTION],
|
[ACX_SET_KCONFIG_OPTION],
|
||||||
[AS_IF(
|
[AS_IF(
|
||||||
[test -n "$$1"],
|
[test -n "$$1"],
|
||||||
[kconfig_options="$kconfig_options $1=y"],
|
[kconfig_options="$kconfig_options has_$1=y"],
|
||||||
[kconfig_options="$kconfig_options $1"])
|
[kconfig_options="$kconfig_options has_$1"])
|
||||||
])
|
])
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
@ -400,11 +400,11 @@ CT_SetLibPath() {
|
|||||||
# Build up the list of allowed tarball extensions
|
# Build up the list of allowed tarball extensions
|
||||||
# Add them in the prefered order; most preferred comes first
|
# Add them in the prefered order; most preferred comes first
|
||||||
CT_DoListTarballExt() {
|
CT_DoListTarballExt() {
|
||||||
if [ "${CT_CONFIGURE_has_xzutils}" = "y" ]; then
|
if [ "${CT_CONFIGURE_has_xz}" = "y" ]; then
|
||||||
printf ".tar.xz\n"
|
printf ".tar.xz\n"
|
||||||
fi
|
fi
|
||||||
if [ "${CT_CONFIGURE_has_lzma}" = "y" \
|
if [ "${CT_CONFIGURE_has_lzma}" = "y" \
|
||||||
-o "${CT_CONFIGURE_has_xzutils}" = "y" ]; then
|
-o "${CT_CONFIGURE_has_xz}" = "y" ]; then
|
||||||
printf ".tar.lzma\n"
|
printf ".tar.lzma\n"
|
||||||
fi
|
fi
|
||||||
printf ".tar.bz2\n"
|
printf ".tar.bz2\n"
|
||||||
|
Reference in New Issue
Block a user